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.nDkb4y Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hQnHDp + 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.daCiUC + 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 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ decode11.c:70:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 70 | CreateWindow, /* 1 */ | ^~~~~~~~~~~~ decode11.c:70:6: note: (near initialization for 'DecodeRequestList[1]') In file included from xmove.h:87: xmond.h:384:14: note: 'CreateWindow' declared here 384 | Global void *CreateWindow P((unsigned char *buf )); | ^~~~~~~~~~~~ decode11.c:71:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 71 | ChangeWindowAttributes, /* 2 */ | ^~~~~~~~~~~~~~~~~~~~~~ decode11.c:71:6: note: (near initialization for 'DecodeRequestList[2]') xmond.h:385:14: note: 'ChangeWindowAttributes' declared here 385 | Global void *ChangeWindowAttributes P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~~~~~ decode11.c:72:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 72 | GetWindowAttributes, /* 3 */ | ^~~~~~~~~~~~~~~~~~~ decode11.c:72:6: note: (near initialization for 'DecodeRequestList[3]') xmond.h:386:14: note: 'GetWindowAttributes' declared here 386 | Global void *GetWindowAttributes P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~~ decode11.c:73:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 73 | DestroyWindow, /* 4 */ | ^~~~~~~~~~~~~ decode11.c:73:6: note: (near initialization for 'DecodeRequestList[4]') xmond.h:388:14: note: 'DestroyWindow' declared here 388 | Global void *DestroyWindow P((unsigned char *buf )); | ^~~~~~~~~~~~~ decode11.c:74:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 74 | DestroySubwindows, /* 5 */ | ^~~~~~~~~~~~~~~~~ decode11.c:74:6: note: (near initialization for 'DecodeRequestList[5]') xmond.h:389:14: note: 'DestroySubwindows' declared here 389 | Global void *DestroySubwindows P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:75:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 75 | ChangeSaveSet, /* 6 */ | ^~~~~~~~~~~~~ decode11.c:75:6: note: (near initialization for 'DecodeRequestList[6]') xmond.h:390:14: note: 'ChangeSaveSet' declared here 390 | Global void *ChangeSaveSet P((unsigned char *buf )); | ^~~~~~~~~~~~~ decode11.c:76:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 76 | ReparentWindow, /* 7 */ | ^~~~~~~~~~~~~~ decode11.c:76:6: note: (near initialization for 'DecodeRequestList[7]') xmond.h:391:14: note: 'ReparentWindow' declared here 391 | Global void *ReparentWindow P((unsigned char *buf )); | ^~~~~~~~~~~~~~ decode11.c:77:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 77 | MapWindow, /* 8 */ | ^~~~~~~~~ decode11.c:77:6: note: (near initialization for 'DecodeRequestList[8]') xmond.h:392:14: note: 'MapWindow' declared here 392 | Global void *MapWindow P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:78:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 78 | MapSubwindows, /* 9 */ | ^~~~~~~~~~~~~ decode11.c:78:6: note: (near initialization for 'DecodeRequestList[9]') xmond.h:393:14: note: 'MapSubwindows' declared here 393 | Global void *MapSubwindows P((unsigned char *buf )); | ^~~~~~~~~~~~~ decode11.c:79:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 79 | UnmapWindow, /* 10 */ | ^~~~~~~~~~~ decode11.c:79:6: note: (near initialization for 'DecodeRequestList[10]') xmond.h:394:14: note: 'UnmapWindow' declared here 394 | Global void *UnmapWindow P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:80:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 80 | UnmapSubwindows, /* 11 */ | ^~~~~~~~~~~~~~~ decode11.c:80:6: note: (near initialization for 'DecodeRequestList[11]') xmond.h:395:14: note: 'UnmapSubwindows' declared here 395 | Global void *UnmapSubwindows P((unsigned char *buf )); | ^~~~~~~~~~~~~~~ decode11.c:81:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 81 | ConfigureWindow, /* 12 */ | ^~~~~~~~~~~~~~~ decode11.c:81:6: note: (near initialization for 'DecodeRequestList[12]') xmond.h:396:14: note: 'ConfigureWindow' declared here 396 | Global void *ConfigureWindow P((unsigned char *buf )); | ^~~~~~~~~~~~~~~ decode11.c:82:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 82 | CirculateWindow, /* 13 */ | ^~~~~~~~~~~~~~~ decode11.c:82:6: note: (near initialization for 'DecodeRequestList[13]') xmond.h:397:14: note: 'CirculateWindow' declared here 397 | Global void *CirculateWindow P((unsigned char *buf )); | ^~~~~~~~~~~~~~~ decode11.c:83:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 83 | GetGeometry, /* 14 */ | ^~~~~~~~~~~ decode11.c:83:6: note: (near initialization for 'DecodeRequestList[14]') xmond.h:398:14: note: 'GetGeometry' declared here 398 | Global void *GetGeometry P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:84:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 84 | QueryTree, /* 15 */ | ^~~~~~~~~ decode11.c:84:6: note: (near initialization for 'DecodeRequestList[15]') xmond.h:400:14: note: 'QueryTree' declared here 400 | Global void *QueryTree P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:85:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 85 | InternAtom, /* 16 */ | ^~~~~~~~~~ decode11.c:85:6: note: (near initialization for 'DecodeRequestList[16]') xmond.h:402:14: note: 'InternAtom' declared here 402 | Global void *InternAtom P((unsigned char *buf )); | ^~~~~~~~~~ decode11.c:86:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 86 | GetAtomName, /* 17 */ | ^~~~~~~~~~~ decode11.c:86:6: note: (near initialization for 'DecodeRequestList[17]') xmond.h:404:14: note: 'GetAtomName' declared here 404 | Global void *GetAtomName P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:87:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 87 | ChangeProperty, /* 18 */ | ^~~~~~~~~~~~~~ decode11.c:87:6: note: (near initialization for 'DecodeRequestList[18]') xmond.h:406:14: note: 'ChangeProperty' declared here 406 | Global void *ChangeProperty P((unsigned char *buf )); | ^~~~~~~~~~~~~~ decode11.c:88:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 88 | DeleteProperty, /* 19 */ | ^~~~~~~~~~~~~~ decode11.c:88:6: note: (near initialization for 'DecodeRequestList[19]') xmond.h:407:14: note: 'DeleteProperty' declared here 407 | Global void *DeleteProperty P((unsigned char *buf )); | ^~~~~~~~~~~~~~ decode11.c:89:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 89 | GetProperty, /* 20 */ | ^~~~~~~~~~~ decode11.c:89:6: note: (near initialization for 'DecodeRequestList[20]') xmond.h:408:14: note: 'GetProperty' declared here 408 | Global void *GetProperty P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:90:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 90 | ListProperties, /* 21 */ | ^~~~~~~~~~~~~~ decode11.c:90:6: note: (near initialization for 'DecodeRequestList[21]') xmond.h:410:14: note: 'ListProperties' declared here 410 | Global void *ListProperties P((unsigned char *buf )); | ^~~~~~~~~~~~~~ decode11.c:91:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 91 | SetSelectionOwner, /* 22 */ | ^~~~~~~~~~~~~~~~~ decode11.c:91:6: note: (near initialization for 'DecodeRequestList[22]') xmond.h:412:14: note: 'SetSelectionOwner' declared here 412 | Global void *SetSelectionOwner P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:92:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 92 | GetSelectionOwner, /* 23 */ | ^~~~~~~~~~~~~~~~~ decode11.c:92:6: note: (near initialization for 'DecodeRequestList[23]') xmond.h:413:14: note: 'GetSelectionOwner' declared here 413 | Global void *GetSelectionOwner P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:93:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 93 | ConvertSelection, /* 24 */ | ^~~~~~~~~~~~~~~~ decode11.c:93:6: note: (near initialization for 'DecodeRequestList[24]') xmond.h:415:14: note: 'ConvertSelection' declared here 415 | Global void *ConvertSelection P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~ decode11.c:94:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 94 | SendEvent, /* 25 */ | ^~~~~~~~~ decode11.c:94:6: note: (near initialization for 'DecodeRequestList[25]') xmond.h:416:14: note: 'SendEvent' declared here 416 | Global void *SendEvent P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:95:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 95 | GrabPointer, /* 26 */ | ^~~~~~~~~~~ decode11.c:95:6: note: (near initialization for 'DecodeRequestList[26]') xmond.h:417:14: note: 'GrabPointer' declared here 417 | Global void *GrabPointer P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:96:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 96 | UngrabPointer, /* 27 */ | ^~~~~~~~~~~~~ decode11.c:96:6: note: (near initialization for 'DecodeRequestList[27]') xmond.h:419:14: note: 'UngrabPointer' declared here 419 | Global void *UngrabPointer P((unsigned char *buf )); | ^~~~~~~~~~~~~ decode11.c:97:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 97 | GrabButton, /* 28 */ | ^~~~~~~~~~ decode11.c:97:6: note: (near initialization for 'DecodeRequestList[28]') xmond.h:420:14: note: 'GrabButton' declared here 420 | Global void *GrabButton P((unsigned char *buf )); | ^~~~~~~~~~ decode11.c:98:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 98 | UngrabButton, /* 29 */ | ^~~~~~~~~~~~ decode11.c:98:6: note: (near initialization for 'DecodeRequestList[29]') xmond.h:421:14: note: 'UngrabButton' declared here 421 | Global void *UngrabButton P((unsigned char *buf )); | ^~~~~~~~~~~~ decode11.c:99:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 99 | ChangeActivePointerGrab, /* 30 */ | ^~~~~~~~~~~~~~~~~~~~~~~ decode11.c:99:6: note: (near initialization for 'DecodeRequestList[30]') xmond.h:422:14: note: 'ChangeActivePointerGrab' declared here 422 | Global void *ChangeActivePointerGrab P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~~~~~~ decode11.c:100:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 100 | GrabKeyboard, /* 31 */ | ^~~~~~~~~~~~ decode11.c:100:6: note: (near initialization for 'DecodeRequestList[31]') xmond.h:423:14: note: 'GrabKeyboard' declared here 423 | Global void *GrabKeyboard P((unsigned char *buf )); | ^~~~~~~~~~~~ decode11.c:101:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 101 | UngrabKeyboard, /* 32 */ | ^~~~~~~~~~~~~~ decode11.c:101:6: note: (near initialization for 'DecodeRequestList[32]') xmond.h:425:14: note: 'UngrabKeyboard' declared here 425 | Global void *UngrabKeyboard P((unsigned char *buf )); | ^~~~~~~~~~~~~~ decode11.c:102:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 102 | GrabKey, /* 33 */ | ^~~~~~~ decode11.c:102:6: note: (near initialization for 'DecodeRequestList[33]') xmond.h:426:14: note: 'GrabKey' declared here 426 | Global void *GrabKey P((unsigned char *buf )); | ^~~~~~~ decode11.c:103:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 103 | UngrabKey, /* 34 */ | ^~~~~~~~~ decode11.c:103:6: note: (near initialization for 'DecodeRequestList[34]') xmond.h:427:14: note: 'UngrabKey' declared here 427 | Global void *UngrabKey P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:104:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 104 | AllowEvents, /* 35 */ | ^~~~~~~~~~~ decode11.c:104:6: note: (near initialization for 'DecodeRequestList[35]') xmond.h:428:14: note: 'AllowEvents' declared here 428 | Global void *AllowEvents P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:105:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 105 | GrabServer, /* 36 */ | ^~~~~~~~~~ decode11.c:105:6: note: (near initialization for 'DecodeRequestList[36]') xmond.h:429:14: note: 'GrabServer' declared here 429 | Global void *GrabServer P((unsigned char *buf )); | ^~~~~~~~~~ decode11.c:106:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 106 | UngrabServer, /* 37 */ | ^~~~~~~~~~~~ decode11.c:106:6: note: (near initialization for 'DecodeRequestList[37]') xmond.h:430:14: note: 'UngrabServer' declared here 430 | Global void *UngrabServer P((unsigned char *buf )); | ^~~~~~~~~~~~ decode11.c:107:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 107 | QueryPointer, /* 38 */ | ^~~~~~~~~~~~ decode11.c:107:6: note: (near initialization for 'DecodeRequestList[38]') xmond.h:431:14: note: 'QueryPointer' declared here 431 | Global void *QueryPointer P((unsigned char *buf )); | ^~~~~~~~~~~~ decode11.c:108:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 108 | GetMotionEvents, /* 39 */ | ^~~~~~~~~~~~~~~ decode11.c:108:6: note: (near initialization for 'DecodeRequestList[39]') xmond.h:433:14: note: 'GetMotionEvents' declared here 433 | Global void *GetMotionEvents P((unsigned char *buf )); | ^~~~~~~~~~~~~~~ decode11.c:109:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 109 | TranslateCoordinates, /* 40 */ | ^~~~~~~~~~~~~~~~~~~~ decode11.c:109:6: note: (near initialization for 'DecodeRequestList[40]') xmond.h:435:14: note: 'TranslateCoordinates' declared here 435 | Global void *TranslateCoordinates P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~~~ decode11.c:110:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 110 | WarpPointer, /* 41 */ | ^~~~~~~~~~~ decode11.c:110:6: note: (near initialization for 'DecodeRequestList[41]') xmond.h:437:14: note: 'WarpPointer' declared here 437 | Global void *WarpPointer P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:111:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 111 | SetInputFocus, /* 42 */ | ^~~~~~~~~~~~~ decode11.c:111:6: note: (near initialization for 'DecodeRequestList[42]') xmond.h:438:14: note: 'SetInputFocus' declared here 438 | Global void *SetInputFocus P((unsigned char *buf )); | ^~~~~~~~~~~~~ decode11.c:112:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 112 | GetInputFocus, /* 43 */ | ^~~~~~~~~~~~~ decode11.c:112:6: note: (near initialization for 'DecodeRequestList[43]') xmond.h:439:14: note: 'GetInputFocus' declared here 439 | Global void *GetInputFocus P((unsigned char *buf )); | ^~~~~~~~~~~~~ decode11.c:113:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 113 | QueryKeymap, /* 44 */ | ^~~~~~~~~~~ decode11.c:113:6: note: (near initialization for 'DecodeRequestList[44]') xmond.h:441:14: note: 'QueryKeymap' declared here 441 | Global void *QueryKeymap P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:114:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 114 | OpenFont, /* 45 */ | ^~~~~~~~ decode11.c:114:6: note: (near initialization for 'DecodeRequestList[45]') xmond.h:443:14: note: 'OpenFont' declared here 443 | Global void *OpenFont P((unsigned char *buf )); | ^~~~~~~~ decode11.c:115:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 115 | CloseFont, /* 46 */ | ^~~~~~~~~ decode11.c:115:6: note: (near initialization for 'DecodeRequestList[46]') xmond.h:444:14: note: 'CloseFont' declared here 444 | Global void *CloseFont P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:116:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 116 | QueryFont, /* 47 */ | ^~~~~~~~~ decode11.c:116:6: note: (near initialization for 'DecodeRequestList[47]') xmond.h:445:14: note: 'QueryFont' declared here 445 | Global void *QueryFont P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:117:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 117 | QueryTextExtents, /* 48 */ | ^~~~~~~~~~~~~~~~ decode11.c:117:6: note: (near initialization for 'DecodeRequestList[48]') xmond.h:447:14: note: 'QueryTextExtents' declared here 447 | Global void *QueryTextExtents P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~ decode11.c:118:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 118 | ListFonts, /* 49 */ | ^~~~~~~~~ decode11.c:118:6: note: (near initialization for 'DecodeRequestList[49]') xmond.h:449:14: note: 'ListFonts' declared here 449 | Global void *ListFonts P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:119:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 119 | ListFontsWithInfo, /* 50 */ | ^~~~~~~~~~~~~~~~~ decode11.c:119:6: note: (near initialization for 'DecodeRequestList[50]') xmond.h:451:14: note: 'ListFontsWithInfo' declared here 451 | Global void *ListFontsWithInfo P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:120:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 120 | SetFontPath, /* 51 */ | ^~~~~~~~~~~ decode11.c:120:6: note: (near initialization for 'DecodeRequestList[51]') xmond.h:455:14: note: 'SetFontPath' declared here 455 | Global void *SetFontPath P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:121:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 121 | GetFontPath, /* 52 */ | ^~~~~~~~~~~ decode11.c:121:6: note: (near initialization for 'DecodeRequestList[52]') xmond.h:456:14: note: 'GetFontPath' declared here 456 | Global void *GetFontPath P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:122:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 122 | CreatePixmap, /* 53 */ | ^~~~~~~~~~~~ decode11.c:122:6: note: (near initialization for 'DecodeRequestList[53]') xmond.h:458:14: note: 'CreatePixmap' declared here 458 | Global void *CreatePixmap P((unsigned char *buf )); | ^~~~~~~~~~~~ decode11.c:123:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 123 | FreePixmap, /* 54 */ | ^~~~~~~~~~ decode11.c:123:6: note: (near initialization for 'DecodeRequestList[54]') xmond.h:459:14: note: 'FreePixmap' declared here 459 | Global void *FreePixmap P((unsigned char *buf )); | ^~~~~~~~~~ decode11.c:124:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 124 | CreateGC, /* 55 */ | ^~~~~~~~ decode11.c:124:6: note: (near initialization for 'DecodeRequestList[55]') xmond.h:460:14: note: 'CreateGC' declared here 460 | Global void *CreateGC P((unsigned char *buf )); | ^~~~~~~~ decode11.c:125:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 125 | ChangeGC, /* 56 */ | ^~~~~~~~ decode11.c:125:6: note: (near initialization for 'DecodeRequestList[56]') xmond.h:461:14: note: 'ChangeGC' declared here 461 | Global void *ChangeGC P((unsigned char *buf )); | ^~~~~~~~ decode11.c:126:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 126 | CopyGC, /* 57 */ | ^~~~~~ decode11.c:126:6: note: (near initialization for 'DecodeRequestList[57]') xmond.h:462:14: note: 'CopyGC' declared here 462 | Global void *CopyGC P((unsigned char *buf )); | ^~~~~~ decode11.c:127:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 127 | SetDashes, /* 58 */ | ^~~~~~~~~ decode11.c:127:6: note: (near initialization for 'DecodeRequestList[58]') xmond.h:463:14: note: 'SetDashes' declared here 463 | Global void *SetDashes P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:128:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 128 | SetClipRectangles, /* 59 */ | ^~~~~~~~~~~~~~~~~ decode11.c:128:6: note: (near initialization for 'DecodeRequestList[59]') xmond.h:464:14: note: 'SetClipRectangles' declared here 464 | Global void *SetClipRectangles P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:129:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 129 | FreeGC, /* 60 */ | ^~~~~~ decode11.c:129:6: note: (near initialization for 'DecodeRequestList[60]') xmond.h:465:14: note: 'FreeGC' declared here 465 | Global void *FreeGC P((unsigned char *buf )); | ^~~~~~ decode11.c:130:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 130 | ClearArea, /* 61 */ | ^~~~~~~~~ decode11.c:130:6: note: (near initialization for 'DecodeRequestList[61]') xmond.h:466:14: note: 'ClearArea' declared here 466 | Global void *ClearArea P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:131:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 131 | CopyArea, /* 62 */ | ^~~~~~~~ decode11.c:131:6: note: (near initialization for 'DecodeRequestList[62]') xmond.h:467:14: note: 'CopyArea' declared here 467 | Global void *CopyArea P((unsigned char *buf )); | ^~~~~~~~ decode11.c:132:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 132 | CopyPlane, /* 63 */ | ^~~~~~~~~ decode11.c:132:6: note: (near initialization for 'DecodeRequestList[63]') xmond.h:468:14: note: 'CopyPlane' declared here 468 | Global void *CopyPlane P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:133:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 133 | PolyPoint, /* 64 */ | ^~~~~~~~~ decode11.c:133:6: note: (near initialization for 'DecodeRequestList[64]') xmond.h:469:14: note: 'PolyPoint' declared here 469 | Global void *PolyPoint P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:134:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 134 | PolyLine, /* 65 */ | ^~~~~~~~ decode11.c:134:6: note: (near initialization for 'DecodeRequestList[65]') xmond.h:470:14: note: 'PolyLine' declared here 470 | Global void *PolyLine P((unsigned char *buf )); | ^~~~~~~~ decode11.c:135:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 135 | PolySegment, /* 66 */ | ^~~~~~~~~~~ decode11.c:135:6: note: (near initialization for 'DecodeRequestList[66]') xmond.h:471:14: note: 'PolySegment' declared here 471 | Global void *PolySegment P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:136:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 136 | PolyRectangle, /* 67 */ | ^~~~~~~~~~~~~ decode11.c:136:6: note: (near initialization for 'DecodeRequestList[67]') xmond.h:472:14: note: 'PolyRectangle' declared here 472 | Global void *PolyRectangle P((unsigned char *buf )); | ^~~~~~~~~~~~~ decode11.c:137:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 137 | PolyArc, /* 68 */ | ^~~~~~~ decode11.c:137:6: note: (near initialization for 'DecodeRequestList[68]') xmond.h:473:14: note: 'PolyArc' declared here 473 | Global void *PolyArc P((unsigned char *buf )); | ^~~~~~~ decode11.c:138:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 138 | FillPoly, /* 69 */ | ^~~~~~~~ decode11.c:138:6: note: (near initialization for 'DecodeRequestList[69]') xmond.h:474:14: note: 'FillPoly' declared here 474 | Global void *FillPoly P((unsigned char *buf )); | ^~~~~~~~ decode11.c:139:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 139 | PolyFillRectangle, /* 70 */ | ^~~~~~~~~~~~~~~~~ decode11.c:139:6: note: (near initialization for 'DecodeRequestList[70]') xmond.h:475:14: note: 'PolyFillRectangle' declared here 475 | Global void *PolyFillRectangle P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:140:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 140 | PolyFillArc, /* 71 */ | ^~~~~~~~~~~ decode11.c:140:6: note: (near initialization for 'DecodeRequestList[71]') xmond.h:476:14: note: 'PolyFillArc' declared here 476 | Global void *PolyFillArc P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:141:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 141 | PutImage, /* 72 */ | ^~~~~~~~ decode11.c:141:6: note: (near initialization for 'DecodeRequestList[72]') xmond.h:477:14: note: 'PutImage' declared here 477 | Global void *PutImage P((unsigned char *buf )); | ^~~~~~~~ decode11.c:142:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 142 | GetImage, /* 73 */ | ^~~~~~~~ decode11.c:142:6: note: (near initialization for 'DecodeRequestList[73]') xmond.h:478:14: note: 'GetImage' declared here 478 | Global void *GetImage P((unsigned char *buf )); | ^~~~~~~~ decode11.c:143:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 143 | PolyText8, /* 74 */ | ^~~~~~~~~ decode11.c:143:6: note: (near initialization for 'DecodeRequestList[74]') xmond.h:480:14: note: 'PolyText8' declared here 480 | Global void *PolyText8 P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:144:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 144 | PolyText16, /* 75 */ | ^~~~~~~~~~ decode11.c:144:6: note: (near initialization for 'DecodeRequestList[75]') xmond.h:481:14: note: 'PolyText16' declared here 481 | Global void *PolyText16 P((unsigned char *buf )); | ^~~~~~~~~~ decode11.c:145:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 145 | ImageText8, /* 76 */ | ^~~~~~~~~~ decode11.c:145:6: note: (near initialization for 'DecodeRequestList[76]') xmond.h:482:14: note: 'ImageText8' declared here 482 | Global void *ImageText8 P((unsigned char *buf )); | ^~~~~~~~~~ decode11.c:146:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 146 | ImageText16, /* 77 */ | ^~~~~~~~~~~ decode11.c:146:6: note: (near initialization for 'DecodeRequestList[77]') xmond.h:483:14: note: 'ImageText16' declared here 483 | Global void *ImageText16 P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:147:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 147 | CreateColormap, /* 78 */ | ^~~~~~~~~~~~~~ decode11.c:147:6: note: (near initialization for 'DecodeRequestList[78]') xmond.h:484:14: note: 'CreateColormap' declared here 484 | Global void *CreateColormap P((unsigned char *buf )); | ^~~~~~~~~~~~~~ decode11.c:148:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 148 | FreeColormap, /* 79 */ | ^~~~~~~~~~~~ decode11.c:148:6: note: (near initialization for 'DecodeRequestList[79]') xmond.h:485:14: note: 'FreeColormap' declared here 485 | Global void *FreeColormap P((unsigned char *buf )); | ^~~~~~~~~~~~ decode11.c:149:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 149 | CopyColormapAndFree, /* 80 */ | ^~~~~~~~~~~~~~~~~~~ decode11.c:149:6: note: (near initialization for 'DecodeRequestList[80]') xmond.h:486:14: note: 'CopyColormapAndFree' declared here 486 | Global void *CopyColormapAndFree P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~~ decode11.c:150:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 150 | InstallColormap, /* 81 */ | ^~~~~~~~~~~~~~~ decode11.c:150:6: note: (near initialization for 'DecodeRequestList[81]') xmond.h:487:14: note: 'InstallColormap' declared here 487 | Global void *InstallColormap P((unsigned char *buf )); | ^~~~~~~~~~~~~~~ decode11.c:151:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 151 | UninstallColormap, /* 82 */ | ^~~~~~~~~~~~~~~~~ decode11.c:151:6: note: (near initialization for 'DecodeRequestList[82]') xmond.h:488:14: note: 'UninstallColormap' declared here 488 | Global void *UninstallColormap P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:152:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 152 | ListInstalledColormaps, /* 83 */ | ^~~~~~~~~~~~~~~~~~~~~~ decode11.c:152:6: note: (near initialization for 'DecodeRequestList[83]') xmond.h:489:14: note: 'ListInstalledColormaps' declared here 489 | Global void *ListInstalledColormaps P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~~~~~ decode11.c:153:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 153 | AllocColor, /* 84 */ | ^~~~~~~~~~ decode11.c:153:6: note: (near initialization for 'DecodeRequestList[84]') xmond.h:491:14: note: 'AllocColor' declared here 491 | Global void *AllocColor P((unsigned char *buf )); | ^~~~~~~~~~ decode11.c:154:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 154 | AllocNamedColor, /* 85 */ | ^~~~~~~~~~~~~~~ decode11.c:154:6: note: (near initialization for 'DecodeRequestList[85]') xmond.h:493:14: note: 'AllocNamedColor' declared here 493 | Global void *AllocNamedColor P((unsigned char *buf )); | ^~~~~~~~~~~~~~~ decode11.c:155:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 155 | AllocColorCells, /* 86 */ | ^~~~~~~~~~~~~~~ decode11.c:155:6: note: (near initialization for 'DecodeRequestList[86]') xmond.h:495:14: note: 'AllocColorCells' declared here 495 | Global void *AllocColorCells P((unsigned char *buf )); | ^~~~~~~~~~~~~~~ decode11.c:156:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 156 | AllocColorPlanes, /* 87 */ | ^~~~~~~~~~~~~~~~ decode11.c:156:6: note: (near initialization for 'DecodeRequestList[87]') xmond.h:497:14: note: 'AllocColorPlanes' declared here 497 | Global void *AllocColorPlanes P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~ decode11.c:157:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 157 | FreeColors, /* 88 */ | ^~~~~~~~~~ decode11.c:157:6: note: (near initialization for 'DecodeRequestList[88]') xmond.h:499:14: note: 'FreeColors' declared here 499 | Global void *FreeColors P((unsigned char *buf )); | ^~~~~~~~~~ decode11.c:158:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 158 | StoreColors, /* 89 */ | ^~~~~~~~~~~ decode11.c:158:6: note: (near initialization for 'DecodeRequestList[89]') xmond.h:500:14: note: 'StoreColors' declared here 500 | Global void *StoreColors P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:159:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 159 | StoreNamedColor, /* 90 */ | ^~~~~~~~~~~~~~~ decode11.c:159:6: note: (near initialization for 'DecodeRequestList[90]') xmond.h:501:14: note: 'StoreNamedColor' declared here 501 | Global void *StoreNamedColor P((unsigned char *buf )); | ^~~~~~~~~~~~~~~ decode11.c:160:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 160 | QueryColors, /* 91 */ | ^~~~~~~~~~~ decode11.c:160:6: note: (near initialization for 'DecodeRequestList[91]') xmond.h:502:14: note: 'QueryColors' declared here 502 | Global void *QueryColors P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:161:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 161 | LookupColor, /* 92 */ | ^~~~~~~~~~~ decode11.c:161:6: note: (near initialization for 'DecodeRequestList[92]') xmond.h:504:14: note: 'LookupColor' declared here 504 | Global void *LookupColor P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:162:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 162 | CreateCursor, /* 93 */ | ^~~~~~~~~~~~ decode11.c:162:6: note: (near initialization for 'DecodeRequestList[93]') xmond.h:506:14: note: 'CreateCursor' declared here 506 | Global void *CreateCursor P((unsigned char *buf )); | ^~~~~~~~~~~~ decode11.c:163:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 163 | CreateGlyphCursor, /* 94 */ | ^~~~~~~~~~~~~~~~~ decode11.c:163:6: note: (near initialization for 'DecodeRequestList[94]') xmond.h:507:14: note: 'CreateGlyphCursor' declared here 507 | Global void *CreateGlyphCursor P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:164:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 164 | FreeCursor, /* 95 */ | ^~~~~~~~~~ decode11.c:164:6: note: (near initialization for 'DecodeRequestList[95]') xmond.h:508:14: note: 'FreeCursor' declared here 508 | Global void *FreeCursor P((unsigned char *buf )); | ^~~~~~~~~~ decode11.c:165:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 165 | RecolorCursor, /* 96 */ | ^~~~~~~~~~~~~ decode11.c:165:6: note: (near initialization for 'DecodeRequestList[96]') xmond.h:509:14: note: 'RecolorCursor' declared here 509 | Global void *RecolorCursor P((unsigned char *buf )); | ^~~~~~~~~~~~~ decode11.c:166:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 166 | QueryBestSize, /* 97 */ | ^~~~~~~~~~~~~ decode11.c:166:6: note: (near initialization for 'DecodeRequestList[97]') xmond.h:510:14: note: 'QueryBestSize' declared here 510 | Global void *QueryBestSize P((unsigned char *buf )); | ^~~~~~~~~~~~~ decode11.c:167:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 167 | QueryExtension, /* 98 */ | ^~~~~~~~~~~~~~ decode11.c:167:6: note: (near initialization for 'DecodeRequestList[98]') xmond.h:512:14: note: 'QueryExtension' declared here 512 | Global void *QueryExtension P((unsigned char *buf )); | ^~~~~~~~~~~~~~ decode11.c:168:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 168 | ListExtensions, /* 99 */ | ^~~~~~~~~~~~~~ decode11.c:168:6: note: (near initialization for 'DecodeRequestList[99]') xmond.h:514:14: note: 'ListExtensions' declared here 514 | Global void *ListExtensions P((unsigned char *buf )); | ^~~~~~~~~~~~~~ decode11.c:169:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 169 | ChangeKeyboardMapping, /* 100 */ | ^~~~~~~~~~~~~~~~~~~~~ decode11.c:169:6: note: (near initialization for 'DecodeRequestList[100]') xmond.h:516:14: note: 'ChangeKeyboardMapping' declared here 516 | Global void *ChangeKeyboardMapping P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~~~~ decode11.c:170:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 170 | GetKeyboardMapping, /* 101 */ | ^~~~~~~~~~~~~~~~~~ decode11.c:170:6: note: (near initialization for 'DecodeRequestList[101]') xmond.h:517:14: note: 'GetKeyboardMapping' declared here 517 | Global void *GetKeyboardMapping P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~ decode11.c:171:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 171 | ChangeKeyboardControl, /* 102 */ | ^~~~~~~~~~~~~~~~~~~~~ decode11.c:171:6: note: (near initialization for 'DecodeRequestList[102]') xmond.h:519:14: note: 'ChangeKeyboardControl' declared here 519 | Global void *ChangeKeyboardControl P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~~~~ decode11.c:172:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 172 | GetKeyboardControl, /* 103 */ | ^~~~~~~~~~~~~~~~~~ decode11.c:172:6: note: (near initialization for 'DecodeRequestList[103]') xmond.h:520:14: note: 'GetKeyboardControl' declared here 520 | Global void *GetKeyboardControl P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~ decode11.c:173:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 173 | Bell, /* 104 */ | ^~~~ decode11.c:173:6: note: (near initialization for 'DecodeRequestList[104]') xmond.h:522:14: note: 'Bell' declared here 522 | Global void *Bell P((unsigned char *buf )); | ^~~~ decode11.c:174:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 174 | ChangePointerControl, /* 105 */ | ^~~~~~~~~~~~~~~~~~~~ decode11.c:174:6: note: (near initialization for 'DecodeRequestList[105]') xmond.h:523:14: note: 'ChangePointerControl' declared here 523 | Global void *ChangePointerControl P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~~~ decode11.c:175:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 175 | GetPointerControl, /* 106 */ | ^~~~~~~~~~~~~~~~~ decode11.c:175:6: note: (near initialization for 'DecodeRequestList[106]') xmond.h:524:14: note: 'GetPointerControl' declared here 524 | Global void *GetPointerControl P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:176:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 176 | SetScreenSaver, /* 107 */ | ^~~~~~~~~~~~~~ decode11.c:176:6: note: (near initialization for 'DecodeRequestList[107]') xmond.h:526:14: note: 'SetScreenSaver' declared here 526 | Global void *SetScreenSaver P((unsigned char *buf )); | ^~~~~~~~~~~~~~ decode11.c:177:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 177 | GetScreenSaver, /* 108 */ | ^~~~~~~~~~~~~~ decode11.c:177:6: note: (near initialization for 'DecodeRequestList[108]') xmond.h:527:14: note: 'GetScreenSaver' declared here 527 | Global void *GetScreenSaver P((unsigned char *buf )); | ^~~~~~~~~~~~~~ decode11.c:178:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 178 | ChangeHosts, /* 109 */ | ^~~~~~~~~~~ decode11.c:178:6: note: (near initialization for 'DecodeRequestList[109]') xmond.h:529:14: note: 'ChangeHosts' declared here 529 | Global void *ChangeHosts P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c:179:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 179 | ListHosts, /* 110 */ | ^~~~~~~~~ decode11.c:179:6: note: (near initialization for 'DecodeRequestList[110]') xmond.h:530:14: note: 'ListHosts' declared here 530 | Global void *ListHosts P((unsigned char *buf )); | ^~~~~~~~~ decode11.c:180:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 180 | SetAccessControl, /* 111 */ | ^~~~~~~~~~~~~~~~ decode11.c:180:6: note: (near initialization for 'DecodeRequestList[111]') xmond.h:532:14: note: 'SetAccessControl' declared here 532 | Global void *SetAccessControl P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~ decode11.c:181:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 181 | SetCloseDownMode, /* 112 */ | ^~~~~~~~~~~~~~~~ decode11.c:181:6: note: (near initialization for 'DecodeRequestList[112]') xmond.h:533:14: note: 'SetCloseDownMode' declared here 533 | Global void *SetCloseDownMode P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~ decode11.c:182:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 182 | KillClient, /* 113 */ | ^~~~~~~~~~ decode11.c:182:6: note: (near initialization for 'DecodeRequestList[113]') xmond.h:534:14: note: 'KillClient' declared here 534 | Global void *KillClient P((unsigned char *buf )); | ^~~~~~~~~~ decode11.c:183:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 183 | RotateProperties, /* 114 */ | ^~~~~~~~~~~~~~~~ decode11.c:183:6: note: (near initialization for 'DecodeRequestList[114]') xmond.h:535:14: note: 'RotateProperties' declared here 535 | Global void *RotateProperties P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~ decode11.c:184:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 184 | ForceScreenSaver, /* 115 */ | ^~~~~~~~~~~~~~~~ decode11.c:184:6: note: (near initialization for 'DecodeRequestList[115]') xmond.h:536:14: note: 'ForceScreenSaver' declared here 536 | Global void *ForceScreenSaver P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~ decode11.c:185:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 185 | SetPointerMapping, /* 116 */ | ^~~~~~~~~~~~~~~~~ decode11.c:185:6: note: (near initialization for 'DecodeRequestList[116]') xmond.h:537:14: note: 'SetPointerMapping' declared here 537 | Global void *SetPointerMapping P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:186:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 186 | GetPointerMapping, /* 117 */ | ^~~~~~~~~~~~~~~~~ decode11.c:186:6: note: (near initialization for 'DecodeRequestList[117]') xmond.h:539:14: note: 'GetPointerMapping' declared here 539 | Global void *GetPointerMapping P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~ decode11.c:187:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 187 | SetModifierMapping, /* 118 */ | ^~~~~~~~~~~~~~~~~~ decode11.c:187:6: note: (near initialization for 'DecodeRequestList[118]') xmond.h:541:14: note: 'SetModifierMapping' declared here 541 | Global void *SetModifierMapping P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~ decode11.c:188:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 188 | GetModifierMapping, /* 119 */ | ^~~~~~~~~~~~~~~~~~ decode11.c:188:6: note: (near initialization for 'DecodeRequestList[119]') xmond.h:543:14: note: 'GetModifierMapping' declared here 543 | Global void *GetModifierMapping P((unsigned char *buf )); | ^~~~~~~~~~~~~~~~~~ decode11.c:196:6: error: initialization of 'void * (*)(void)' from incompatible pointer type 'void * (*)(unsigned char *)' [-Wincompatible-pointer-types] 196 | NoOperation /* 127 */ | ^~~~~~~~~~~ decode11.c:196:6: note: (near initialization for 'DecodeRequestList[127]') xmond.h:545:14: note: 'NoOperation' declared here 545 | Global void *NoOperation P((unsigned char *buf )); | ^~~~~~~~~~~ decode11.c: In function 'DecodeRequest': decode11.c:200:5: warning: old-style function definition [-Wold-style-definition] 200 | DecodeRequest(buf, n) | ^~~~~~~~~~~~~ decode11.c:227:37: error: too many arguments to function 'DecodeRequestList[(int)Request]'; expected 0, have 1 227 | retval = (DecodeRequestList[Request])(buf); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ~~~ decode11.c: In function 'DecodeError': decode11.c:446:1: warning: old-style function definition [-Wold-style-definition] 446 | DecodeError(buf, n) | ^~~~~~~~~~~ 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 make: *** [: decode11.o] Error 1 make: *** Waiting for unfinished jobs.... 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ table11.c: In function 'DefineEValue': table11.c:112:1: warning: old-style function definition [-Wold-style-definition] 112 | DefineEValue(type, value, name) | ^~~~~~~~~~~~ table11.c: In function 'InitBuiltInTypes': table11.c:180:50: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 180 | (void) DefineType(INT8, BUILTIN, "INT8", PrintINT8); | ^~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ In file included from xmove.h:87: xmond.h:578:12: note: 'PrintINT8' declared here 578 | Global int PrintINT8 P((unsigned char *buf )); | ^~~~~~~~~ In file included from xmond.h:30: common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:181:52: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 181 | (void) DefineType(INT16, BUILTIN, "INT16", PrintINT16); | ^~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:579:12: note: 'PrintINT16' declared here 579 | Global int PrintINT16 P((unsigned char *buf )); | ^~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:182:52: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 182 | (void) DefineType(INT32, BUILTIN, "INT32", PrintINT32); | ^~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:580:12: note: 'PrintINT32' declared here 580 | Global int PrintINT32 P((unsigned char *buf )); | ^~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:183:52: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 183 | (void) DefineType(CARD8, BUILTIN, "CARD8", PrintCARD8); | ^~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:581:12: note: 'PrintCARD8' declared here 581 | Global int PrintCARD8 P((unsigned char *buf )); | ^~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:184:54: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 184 | (void) DefineType(CARD16, BUILTIN, "CARD16", PrintCARD16); | ^~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:582:12: note: 'PrintCARD16' declared here 582 | Global int PrintCARD16 P((unsigned char *buf )); | ^~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:185:54: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 185 | (void) DefineType(CARD32, BUILTIN, "CARD32", PrintCARD32); | ^~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:583:12: note: 'PrintCARD32' declared here 583 | Global int PrintCARD32 P((unsigned char *buf )); | ^~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:186:50: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 186 | (void) DefineType(BYTE, BUILTIN, "BYTE", PrintBYTE); | ^~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:584:12: note: 'PrintBYTE' declared here 584 | Global int PrintBYTE P((unsigned char *buf )); | ^~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:187:52: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 187 | (void) DefineType(CHAR8, BUILTIN, "CHAR8", PrintCHAR8); | ^~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:585:12: note: 'PrintCHAR8' declared here 585 | Global int PrintCHAR8 P((unsigned char *buf )); | ^~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:188:58: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 188 | (void) DefineType(STRING16, BUILTIN, "STRING16", PrintSTRING16); | ^~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:586:12: note: 'PrintSTRING16' declared here 586 | Global int PrintSTRING16 P((unsigned char *buf )); | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:189:48: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 189 | (void) DefineType(STR, BUILTIN, "STR", PrintSTR); | ^~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:587:12: note: 'PrintSTR' declared here 587 | Global int PrintSTR P((unsigned char *buf )); | ^~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:190:54: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 190 | (void) DefineType(WINDOW, BUILTIN, "WINDOW", PrintWINDOW); | ^~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:588:12: note: 'PrintWINDOW' declared here 588 | Global int PrintWINDOW P((unsigned char *buf )); | ^~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:191:56: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 191 | (void) DefineType(WINDOWD, BUILTIN, "WINDOWD", PrintWINDOWD); | ^~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:589:12: note: 'PrintWINDOWD' declared here 589 | Global int PrintWINDOWD P((unsigned char *buf )); | ^~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:192:58: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 192 | (void) DefineType(WINDOWNR, BUILTIN, "WINDOWNR", PrintWINDOWNR); | ^~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:590:12: note: 'PrintWINDOWNR' declared here 590 | Global int PrintWINDOWNR P((unsigned char *buf )); | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:193:54: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 193 | (void) DefineType(PIXMAP, BUILTIN, "PIXMAP", PrintPIXMAP); | ^~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:591:12: note: 'PrintPIXMAP' declared here 591 | Global int PrintPIXMAP P((unsigned char *buf )); | ^~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:194:60: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 194 | (void) DefineType(PIXMAPNPR, BUILTIN, "PIXMAPNPR", PrintPIXMAPNPR); | ^~~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:592:12: note: 'PrintPIXMAPNPR' declared here 592 | Global int PrintPIXMAPNPR P((unsigned char *buf )); | ^~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:195:56: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 195 | (void) DefineType(PIXMAPC, BUILTIN, "PIXMAPC", PrintPIXMAPC); | ^~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:593:12: note: 'PrintPIXMAPC' declared here 593 | Global int PrintPIXMAPC P((unsigned char *buf )); | ^~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:196:54: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 196 | (void) DefineType(CURSOR, BUILTIN, "CURSOR", PrintCURSOR); | ^~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:594:12: note: 'PrintCURSOR' declared here 594 | Global int PrintCURSOR P((unsigned char *buf )); | ^~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:197:50: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 197 | (void) DefineType(FONT, BUILTIN, "FONT", PrintFONT); | ^~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:595:12: note: 'PrintFONT' declared here 595 | Global int PrintFONT P((unsigned char *buf )); | ^~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:198:58: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 198 | (void) DefineType(GCONTEXT, BUILTIN, "GCONTEXT", PrintGCONTEXT); | ^~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:596:12: note: 'PrintGCONTEXT' declared here 596 | Global int PrintGCONTEXT P((unsigned char *buf )); | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:199:58: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 199 | (void) DefineType(COLORMAP, BUILTIN, "COLORMAP", PrintCOLORMAP); | ^~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:597:12: note: 'PrintCOLORMAP' declared here 597 | Global int PrintCOLORMAP P((unsigned char *buf )); | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:200:60: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 200 | (void) DefineType(COLORMAPC, BUILTIN, "COLORMAPC", PrintCOLORMAPC); | ^~~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:598:12: note: 'PrintCOLORMAPC' declared here 598 | Global int PrintCOLORMAPC P((unsigned char *buf )); | ^~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:201:58: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 201 | (void) DefineType(DRAWABLE, BUILTIN, "DRAWABLE", PrintDRAWABLE); | ^~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:599:12: note: 'PrintDRAWABLE' declared here 599 | Global int PrintDRAWABLE P((unsigned char *buf )); | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:202:58: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 202 | (void) DefineType(FONTABLE, BUILTIN, "FONTABLE", PrintFONTABLE); | ^~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:600:12: note: 'PrintFONTABLE' declared here 600 | Global int PrintFONTABLE P((unsigned char *buf )); | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:203:50: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 203 | (void) DefineType(ATOM, BUILTIN, "ATOM", PrintATOM); | ^~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:601:12: note: 'PrintATOM' declared here 601 | Global int PrintATOM P((unsigned char *buf )); | ^~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:204:52: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 204 | (void) DefineType(ATOMT, BUILTIN, "ATOMT", PrintATOMT); | ^~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:602:12: note: 'PrintATOMT' declared here 602 | Global int PrintATOMT P((unsigned char *buf )); | ^~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:205:58: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 205 | (void) DefineType(VISUALID, BUILTIN, "VISUALID", PrintVISUALID); | ^~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:603:12: note: 'PrintVISUALID' declared here 603 | Global int PrintVISUALID P((unsigned char *buf )); | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:206:60: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 206 | (void) DefineType(VISUALIDC, BUILTIN, "VISUALIDC", PrintVISUALIDC); | ^~~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:604:12: note: 'PrintVISUALIDC' declared here 604 | Global int PrintVISUALIDC P((unsigned char *buf )); | ^~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:207:60: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 207 | (void) DefineType(TIMESTAMP, BUILTIN, "TIMESTAMP", PrintTIMESTAMP); | ^~~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:605:12: note: 'PrintTIMESTAMP' declared here 605 | Global int PrintTIMESTAMP P((unsigned char *buf )); | ^~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:208:62: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 208 | (void) DefineType(RESOURCEID, BUILTIN, "RESOURCEID", PrintRESOURCEID); | ^~~~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:606:12: note: 'PrintRESOURCEID' declared here 606 | Global int PrintRESOURCEID P((unsigned char *buf )); | ^~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:209:54: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 209 | (void) DefineType(KEYSYM, BUILTIN, "KEYSYM", PrintKEYSYM); | ^~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:607:12: note: 'PrintKEYSYM' declared here 607 | Global int PrintKEYSYM P((unsigned char *buf )); | ^~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:210:56: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 210 | (void) DefineType(KEYCODE, BUILTIN, "KEYCODE", PrintKEYCODE); | ^~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:608:12: note: 'PrintKEYCODE' declared here 608 | Global int PrintKEYCODE P((unsigned char *buf )); | ^~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:211:58: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 211 | (void) DefineType(KEYCODEA, BUILTIN, "KEYCODEA", PrintKEYCODEA); | ^~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:609:12: note: 'PrintKEYCODEA' declared here 609 | Global int PrintKEYCODEA P((unsigned char *buf )); | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:212:54: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 212 | (void) DefineType(BUTTON, BUILTIN, "BUTTON", PrintBUTTON); | ^~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:610:12: note: 'PrintBUTTON' declared here 610 | Global int PrintBUTTON P((unsigned char *buf )); | ^~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:213:56: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 213 | (void) DefineType(BUTTONA, BUILTIN, "BUTTONA", PrintBUTTONA); | ^~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:611:12: note: 'PrintBUTTONA' declared here 611 | Global int PrintBUTTONA P((unsigned char *buf )); | ^~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:214:60: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 214 | (void) DefineType(EVENTFORM, BUILTIN, "EVENTFORM", PrintEVENTFORM); | ^~~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ xmond.h:612:12: note: 'PrintEVENTFORM' declared here 612 | Global int PrintEVENTFORM P((unsigned char *buf )); | ^~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c: In function 'PrintCHAR2B': table11.c:856:1: warning: old-style function definition [-Wold-style-definition] 856 | PrintCHAR2B(buf) | ^~~~~~~~~~~ table11.c: In function 'PrintPOINT': table11.c:866:1: warning: old-style function definition [-Wold-style-definition] 866 | PrintPOINT(buf) | ^~~~~~~~~~ table11.c: In function 'PrintRECTANGLE': table11.c:875:1: warning: old-style function definition [-Wold-style-definition] 875 | PrintRECTANGLE(buf) | ^~~~~~~~~~~~~~ table11.c: In function 'PrintARC': table11.c:886:1: warning: old-style function definition [-Wold-style-definition] 886 | PrintARC(buf) | ^~~~~~~~ table11.c: In function 'PrintHOST': table11.c:899:1: warning: old-style function definition [-Wold-style-definition] 899 | PrintHOST(buf) | ^~~~~~~~~ table11.c: In function 'PrintTIMECOORD': table11.c:911:1: warning: old-style function definition [-Wold-style-definition] 911 | PrintTIMECOORD(buf) | ^~~~~~~~~~~~~~ table11.c: In function 'PrintFONTPROP': table11.c:921:1: warning: old-style function definition [-Wold-style-definition] 921 | PrintFONTPROP(buf) | ^~~~~~~~~~~~~ table11.c: In function 'PrintCHARINFO': table11.c:930:1: warning: old-style function definition [-Wold-style-definition] 930 | PrintCHARINFO(buf) | ^~~~~~~~~~~~~ table11.c: In function 'PrintSEGMENT': table11.c:943:1: warning: old-style function definition [-Wold-style-definition] 943 | PrintSEGMENT(buf) | ^~~~~~~~~~~~ table11.c: In function 'PrintCOLORITEM': table11.c:954:1: warning: old-style function definition [-Wold-style-definition] 954 | PrintCOLORITEM(buf) | ^~~~~~~~~~~~~~ table11.c: In function 'PrintRGB': table11.c:966:1: warning: old-style function definition [-Wold-style-definition] 966 | PrintRGB(buf) | ^~~~~~~~ table11.c: In function 'PrintFORMAT': table11.c:976:1: warning: old-style function definition [-Wold-style-definition] 976 | PrintFORMAT(buf) | ^~~~~~~~~~~ table11.c: In function 'PrintSCREEN': table11.c:986:1: warning: old-style function definition [-Wold-style-definition] 986 | PrintSCREEN(buf) | ^~~~~~~~~~~ table11.c: In function 'AdjustSCREEN': table11.c:1016:6: warning: old-style function definition [-Wold-style-definition] 1016 | void AdjustSCREEN(buf, count) | ^~~~~~~~~~~~ table11.c: In function 'PrintDEPTH': table11.c:1042:1: warning: old-style function definition [-Wold-style-definition] 1042 | PrintDEPTH(buf) | ^~~~~~~~~~ table11.c: In function 'PrintVISUALTYPE': table11.c:1056:1: warning: old-style function definition [-Wold-style-definition] 1056 | PrintVISUALTYPE(buf) | ^~~~~~~~~~~~~~~ table11.c: In function 'InitRecordTypes': table11.c:1072:53: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1072 | (void) DefineType(CHAR2B, RECORD, "CHAR2B", PrintCHAR2B); | ^~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:856:1: note: 'PrintCHAR2B' declared here 856 | PrintCHAR2B(buf) | ^~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1073:51: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1073 | (void) DefineType(POINT, RECORD, "POINT", PrintPOINT); | ^~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:866:1: note: 'PrintPOINT' declared here 866 | PrintPOINT(buf) | ^~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1074:59: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1074 | (void) DefineType(RECTANGLE, RECORD, "RECTANGLE", PrintRECTANGLE); | ^~~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:875:1: note: 'PrintRECTANGLE' declared here 875 | PrintRECTANGLE(buf) | ^~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1075:47: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1075 | (void) DefineType(ARC, RECORD, "ARC", PrintARC); | ^~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:886:1: note: 'PrintARC' declared here 886 | PrintARC(buf) | ^~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1076:49: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1076 | (void) DefineType(HOST, RECORD, "HOST", PrintHOST); | ^~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:899:1: note: 'PrintHOST' declared here 899 | PrintHOST(buf) | ^~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1077:59: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1077 | (void) DefineType(TIMECOORD, RECORD, "TIMECOORD", PrintTIMECOORD); | ^~~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:911:1: note: 'PrintTIMECOORD' declared here 911 | PrintTIMECOORD(buf) | ^~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1078:57: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1078 | (void) DefineType(FONTPROP, RECORD, "FONTPROP", PrintFONTPROP); | ^~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:921:1: note: 'PrintFONTPROP' declared here 921 | PrintFONTPROP(buf) | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1079:57: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1079 | (void) DefineType(CHARINFO, RECORD, "CHARINFO", PrintCHARINFO); | ^~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:930:1: note: 'PrintCHARINFO' declared here 930 | PrintCHARINFO(buf) | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1080:55: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1080 | (void) DefineType(SEGMENT, RECORD, "SEGMENT", PrintSEGMENT); | ^~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:943:1: note: 'PrintSEGMENT' declared here 943 | PrintSEGMENT(buf) | ^~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1081:59: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1081 | (void) DefineType(COLORITEM, RECORD, "COLORITEM", PrintCOLORITEM); | ^~~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:954:1: note: 'PrintCOLORITEM' declared here 954 | PrintCOLORITEM(buf) | ^~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1082:47: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1082 | (void) DefineType(RGB, RECORD, "RGB", PrintRGB); | ^~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:966:1: note: 'PrintRGB' declared here 966 | PrintRGB(buf) | ^~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1083:53: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1083 | (void) DefineType(FORMAT, RECORD, "FORMAT", PrintFORMAT); | ^~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:976:1: note: 'PrintFORMAT' declared here 976 | PrintFORMAT(buf) | ^~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1084:53: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1084 | (void) DefineType(SCREEN, RECORD, "SCREEN", PrintSCREEN); | ^~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:986:1: note: 'PrintSCREEN' declared here 986 | PrintSCREEN(buf) | ^~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1085:51: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1085 | (void) DefineType(DEPTH, RECORD, "DEPTH", PrintDEPTH); | ^~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:1042:1: note: 'PrintDEPTH' declared here 1042 | PrintDEPTH(buf) | ^~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ table11.c:1086:61: error: passing argument 4 of 'DefineType' from incompatible pointer type [-Wincompatible-pointer-types] 1086 | (void) DefineType(VISUALTYPE, RECORD, "VISUALTYPE", PrintVISUALTYPE); | ^~~~~~~~~~~~~~~ | | | int (*)(unsigned char *) table11.c:99:63: note: expected 'IntCallback' {aka 'int (*)(void)'} but argument is of type 'int (*)(unsigned char *)' 99 | DefineType(short typeid, short class, char *name, IntCallback printproc) | ~~~~~~~~~~~~^~~~~~~~~ table11.c:1056:1: note: 'PrintVISUALTYPE' declared here 1056 | PrintVISUALTYPE(buf) | ^~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ make: *** [: table11.o] Error 1 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ getsetProps.c: In function 'XMOVEGetSetProps': getsetProps.c:117:16: error: too many arguments to function 'map_func'; expected 0, have 9 117 | (map_func)(MapMoveClientProps, &new_atom, &new_type, NULL, | ^ ~~~~~~~~~~~~~~~~~~ make: *** [: getsetProps.o] Error 1 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ fd.c: In function 'UsingFD': fd.c:73:1: warning: old-style function definition [-Wold-style-definition] 73 | UsingFD(fd, Handler, private_data) | ^~~~~~~ fd.c: In function 'NotUsingFD': fd.c:93:1: warning: old-style function definition [-Wold-style-definition] 93 | NotUsingFD(fd) | ^~~~~~~~~~ fd.c: In function 'EOFonFD': fd.c:104:1: warning: old-style function definition [-Wold-style-definition] 104 | EOFonFD(fd) | ^~~~~~~ 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ prtype.c: In function 'DumpItem': prtype.c:168:1: warning: old-style function definition [-Wold-style-definition] 168 | DumpItem(name, fd, buf, n) | ^~~~~~~~ prtype.c: In function 'PrintINT8': prtype.c:184:1: warning: old-style function definition [-Wold-style-definition] 184 | PrintINT8(buf) | ^~~~~~~~~ prtype.c: In function 'PrintINT16': prtype.c:196:1: warning: old-style function definition [-Wold-style-definition] 196 | PrintINT16(buf) | ^~~~~~~~~~ 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:208:1: warning: old-style function definition [-Wold-style-definition] 208 | PrintINT32(buf) | ^~~~~~~~~~ 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 'PrintCARD8': prtype.c:218:1: warning: old-style function definition [-Wold-style-definition] 218 | PrintCARD8(buf) | ^~~~~~~~~~ prtype.c: In function 'PrintCARD16': prtype.c:228:1: warning: old-style function definition [-Wold-style-definition] 228 | PrintCARD16(buf) | ^~~~~~~~~~~ prtype.c: In function 'PrintCARD32': prtype.c:238:1: warning: old-style function definition [-Wold-style-definition] 238 | PrintCARD32(buf) | ^~~~~~~~~~~ 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 'PrintBYTE': prtype.c:248:1: warning: old-style function definition [-Wold-style-definition] 248 | PrintBYTE(buf) | ^~~~~~~~~ prtype.c: In function 'PrintCHAR8': prtype.c:258:1: warning: old-style function definition [-Wold-style-definition] 258 | PrintCHAR8(buf) | ^~~~~~~~~~ prtype.c: In function 'PrintSTRING16': prtype.c:268:1: warning: old-style function definition [-Wold-style-definition] 268 | PrintSTRING16(buf) | ^~~~~~~~~~~~~ prtype.c: In function 'PrintSTR': prtype.c:278:1: warning: old-style function definition [-Wold-style-definition] 278 | PrintSTR(buf) | ^~~~~~~~ prtype.c: In function 'PrintWINDOW': prtype.c:292:1: warning: old-style function definition [-Wold-style-definition] 292 | PrintWINDOW(buf) | ^~~~~~~~~~~ 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 'PrintWINDOWD': prtype.c:305:1: warning: old-style function definition [-Wold-style-definition] 305 | PrintWINDOWD(buf) | ^~~~~~~~~~~~ prtype.c: In function 'PrintWINDOWNR': prtype.c:320:1: warning: old-style function definition [-Wold-style-definition] 320 | PrintWINDOWNR(buf) | ^~~~~~~~~~~~~ prtype.c: In function 'PrintPIXMAP': prtype.c:336:1: warning: old-style function definition [-Wold-style-definition] 336 | PrintPIXMAP(buf) | ^~~~~~~~~~~ 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 'PrintPIXMAPNPR': prtype.c:349:1: warning: old-style function definition [-Wold-style-definition] 349 | PrintPIXMAPNPR(buf) | ^~~~~~~~~~~~~~ prtype.c: In function 'PrintPIXMAPC': prtype.c:364:1: warning: old-style function definition [-Wold-style-definition] 364 | PrintPIXMAPC(buf) | ^~~~~~~~~~~~ prtype.c: In function 'PrintCURSOR': prtype.c:378:1: warning: old-style function definition [-Wold-style-definition] 378 | PrintCURSOR(buf) | ^~~~~~~~~~~ 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:392:1: warning: old-style function definition [-Wold-style-definition] 392 | PrintFONT(buf) | ^~~~~~~~~ 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:406:1: warning: old-style function definition [-Wold-style-definition] 406 | PrintGCONTEXT(buf) | ^~~~~~~~~~~~~ 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:417:1: warning: old-style function definition [-Wold-style-definition] 417 | PrintCOLORMAP(buf) | ^~~~~~~~~~~~~ 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 'PrintCOLORMAPC': prtype.c:430:1: warning: old-style function definition [-Wold-style-definition] 430 | PrintCOLORMAPC(buf) | ^~~~~~~~~~~~~~ prtype.c: In function 'PrintDRAWABLE': prtype.c:444:1: warning: old-style function definition [-Wold-style-definition] 444 | PrintDRAWABLE(buf) | ^~~~~~~~~~~~~ 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:454:1: warning: old-style function definition [-Wold-style-definition] 454 | PrintFONTABLE(buf) | ^~~~~~~~~~~~~ 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:469:1: warning: old-style function definition [-Wold-style-definition] 469 | PrintATOM(buf) | ^~~~~~~~~ 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 'PrintATOMT': prtype.c:482:1: warning: old-style function definition [-Wold-style-definition] 482 | PrintATOMT(buf) | ^~~~~~~~~~ prtype.c: In function 'PrintVISUALID': prtype.c:496:1: warning: old-style function definition [-Wold-style-definition] 496 | PrintVISUALID(buf) | ^~~~~~~~~~~~~ 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 'PrintVISUALIDC': prtype.c:509:1: warning: old-style function definition [-Wold-style-definition] 509 | PrintVISUALIDC(buf) | ^~~~~~~~~~~~~~ prtype.c: In function 'PrintTIMESTAMP': prtype.c:523:1: warning: old-style function definition [-Wold-style-definition] 523 | PrintTIMESTAMP(buf) | ^~~~~~~~~~~~~~ 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:537:1: warning: old-style function definition [-Wold-style-definition] 537 | PrintRESOURCEID(buf) | ^~~~~~~~~~~~~~~ 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:551:1: warning: old-style function definition [-Wold-style-definition] 551 | PrintKEYSYM(buf) | ^~~~~~~~~~~ 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 'PrintKEYCODE': prtype.c:561:1: warning: old-style function definition [-Wold-style-definition] 561 | PrintKEYCODE(buf) | ^~~~~~~~~~~~ prtype.c: In function 'PrintKEYCODEA': prtype.c:571:1: warning: old-style function definition [-Wold-style-definition] 571 | PrintKEYCODEA(buf) | ^~~~~~~~~~~~~ prtype.c: In function 'PrintBUTTON': prtype.c:585:1: warning: old-style function definition [-Wold-style-definition] 585 | PrintBUTTON(buf) | ^~~~~~~~~~~ prtype.c: In function 'PrintBUTTONA': prtype.c:595:1: warning: old-style function definition [-Wold-style-definition] 595 | PrintBUTTONA(buf) | ^~~~~~~~~~~~ prtype.c: In function 'PrintEVENTFORM': prtype.c:615:1: warning: old-style function definition [-Wold-style-definition] 615 | PrintEVENTFORM(buf) | ^~~~~~~~~~~~~~ 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 'PrintField': prtype.c:713:18: error: too many arguments to function 'TD[(int)FieldType].PrintProc'; expected 0, have 1 713 | (*TD[FieldType].PrintProc)(&buf[start]); | ~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ In file included from xmond.h:33, from xmove.h:87: x11.h:328:21: note: declared here 328 | IntCallback PrintProc; | ^~~~~~~~~ prtype.c:729:18: error: too many arguments to function 'TD[(int)FieldType].PrintProc'; expected 0, have 1 729 | (*TD[FieldType].PrintProc)(&buf[start]); | ~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ x11.h:328:21: note: declared here 328 | IntCallback PrintProc; | ^~~~~~~~~ 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:764:18: error: too many arguments to function 'TD[(int)ListType].PrintProc'; expected 0, have 1 764 | n = (*TD[ListType].PrintProc)(buf); | ~^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ x11.h:328:21: note: declared here 328 | IntCallback PrintProc; | ^~~~~~~~~ prtype.c:768:18: error: too many arguments to function 'TD[(int)ListType].PrintProc'; expected 0, have 1 768 | n = (*TD[ListType].PrintProc)(buf); | ~^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ x11.h:328:21: note: declared here 328 | IntCallback PrintProc; | ^~~~~~~~~ prtype.c: In function 'PrintListSTR': prtype.c:791:1: warning: old-style function definition [-Wold-style-definition] 791 | PrintListSTR(buf, number, name) | ^~~~~~~~~~~~ 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 prtype.c: In function 'PrintBytes': prtype.c:823:1: warning: old-style function definition [-Wold-style-definition] 823 | PrintBytes(buf, number, name) | ^~~~~~~~~~ prtype.c: In function 'DumpHexBuffer': prtype.c:996:1: warning: old-style function definition [-Wold-style-definition] 996 | DumpHexBuffer(buf, n) | ^~~~~~~~~~~~~ make: *** [: prtype.o] Error 1 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ main.c:101:14: error: conflicting types for 'getenv'; have 'char *(void)' 101 | extern char *getenv(); | ^~~~~~ In file included from main.c:54: /usr/include/stdlib.h:773:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ main.c: In function 'main': main.c:147:1: warning: old-style function definition [-Wold-style-definition] 147 | main(argc, argv) | ^~~~ main.c: In function 'ScanArgs': main.c:386:26: error: too many arguments to function 'getenv'; expected 0, have 1 386 | string = getenv("DISPLAY"); | ^~~~~~ ~~~~~~~~~ main.c:101:14: note: declared here 101 | extern char *getenv(); | ^~~~~~ main.c: In function 'SetUpConnectionSocket': main.c:402:1: warning: old-style function definition [-Wold-style-definition] 402 | SetUpConnectionSocket(iport) | ^~~~~~~~~~~~~~~~~~~~~ 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:507:41: error: passing argument 2 of 'UsingFD' from incompatible pointer type [-Wincompatible-pointer-types] 507 | (void)UsingFD(ConnectionSocket, NewConnection, (Pointer)ConnectionSocket); | ^~~~~~~~~~~~~ | | | void (*)(char *) In file included from xmond.h:30, from xmove.h:87, from main.c:53: xmond.h:558:55: note: expected 'VoidCallback' {aka 'void (*)(void)'} but argument is of type 'void (*)(char *)' 558 | Global FDDescriptor *UsingFD P((int fd , VoidCallback Handler , Pointer | ~~~~~~~~~~~~~^~~~~~~ common.h:107:49: note: in definition of macro 'P' 107 | #define P(args) args | ^~~~ main.c:76:13: note: 'NewConnection' declared here 76 | static void NewConnection P((Pointer private_data )); | ^~~~~~~~~~~~~ common.h:35:51: note: 'VoidCallback' declared here 35 | typedef void (*VoidCallback)(); /* ptr to void function */ | ^~~~~~~~~~~~ main.c: In function 'MainLoop': main.c:610:49: error: too many arguments to function '(FDD + (sizetype)((long unsigned int)cur_fd * 152))->InputHandler'; expected 0, have 1 610 | (FDD[cur_fd].InputHandler)(FDD[cur_fd].private_data); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ xmond.h:127:41: note: declared here 127 | VoidCallback InputHandler; | ^~~~~~~~~~~~ main.c: In function 'NewConnection': main.c:696:1: warning: old-style function definition [-Wold-style-definition] 696 | NewConnection(private_data) | ^~~~~~~~~~~~~ main.c:699:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 699 | int XPort = (int)private_data; | ^ main.c:722:31: error: passing argument 2 of 'UsingFD' from incompatible pointer type [-Wincompatible-pointer-types] 722 | client->fdd = UsingFD(fd, DataFromClient, (Pointer)client); | ^~~~~~~~~~~~~~ | | | void (*)(char *) xmond.h:558:55: note: expected 'VoidCallback' {aka 'void (*)(void)'} but argument is of type 'void (*)(char *)' 558 | Global FDDescriptor *UsingFD P((int fd , VoidCallback Handler , Pointer | ~~~~~~~~~~~~~^~~~~~~ common.h:107:49: note: in definition of macro 'P' 107 | #define P(args) args | ^~~~ xmond.h:569:13: note: 'DataFromClient' declared here 569 | Global void DataFromClient P((Pointer private_data)); | ^~~~~~~~~~~~~~ common.h:35:51: note: 'VoidCallback' declared here 35 | typedef void (*VoidCallback)(); /* ptr to void function */ | ^~~~~~~~~~~~ main.c:768:42: error: passing argument 2 of 'UsingFD' from incompatible pointer type [-Wincompatible-pointer-types] 768 | server->fdd = UsingFD(ServerFD, DataFromServer, (Pointer)server); | ^~~~~~~~~~~~~~ | | | void (*)(char *) xmond.h:558:55: note: expected 'VoidCallback' {aka 'void (*)(void)'} but argument is of type 'void (*)(char *)' 558 | Global FDDescriptor *UsingFD P((int fd , VoidCallback Handler , Pointer | ~~~~~~~~~~~~~^~~~~~~ common.h:107:49: note: in definition of macro 'P' 107 | #define P(args) args | ^~~~ xmond.h:570:13: note: 'DataFromServer' declared here 570 | Global void DataFromServer P((Pointer private_data)); | ^~~~~~~~~~~~~~ common.h:35:51: note: 'VoidCallback' declared here 35 | typedef void (*VoidCallback)(); /* ptr to void function */ | ^~~~~~~~~~~~ main.c: In function 'DataFromClient': main.c:780:1: warning: old-style function definition [-Wold-style-definition] 780 | DataFromClient(private_data) | ^~~~~~~~~~~~~~ main.c: In function 'DataFromServer': main.c:793:1: warning: old-style function definition [-Wold-style-definition] 793 | DataFromServer(private_data) | ^~~~~~~~~~~~~~ main.c: In function 'ReadAndProcessData': main.c:913:54: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 913 | if (is_server && server->fdd->ByteProcessing == ServerPacket) { | ^~ main.c:985:38: error: too many arguments to function 'read_fdd->ByteProcessing'; expected 0, have 3 985 | NumberofUsedBytes = (*read_fdd->ByteProcessing) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ 986 | (private_data, process_buf, BytesRemaining); | ~~~~~~~~~~~~ xmond.h:132:41: note: declared here 132 | IntCallback ByteProcessing; | ^~~~~~~~~~~~~~ main.c: In function 'RemoveSavedBytes': main.c:1100:1: warning: old-style function definition [-Wold-style-definition] 1100 | RemoveSavedBytes(buffer, n) | ^~~~~~~~~~~~~~~~ main.c: In function 'enterprocedure': main.c:1359:1: warning: old-style function definition [-Wold-style-definition] 1359 | enterprocedure(s) | ^~~~~~~~~~~~~~ main.c: In function 'panic': main.c:1366:1: warning: old-style function definition [-Wold-style-definition] 1366 | panic(s) | ^~~~~ make: *** [: main.o] Error 1 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ put_image.c: In function 'NoSwap': put_image.c:112:1: warning: old-style function definition [-Wold-style-definition] 112 | NoSwap (src, dest, srclen, srcinc, destinc, height, half_order) | ^~~~~~ put_image.c: In function 'SwapTwoBytes': put_image.c:128:1: warning: old-style function definition [-Wold-style-definition] 128 | SwapTwoBytes (src, dest, srclen, srcinc, destinc, height, half_order) | ^~~~~~~~~~~~ put_image.c: In function 'SwapThreeBytes': put_image.c:155:1: warning: old-style function definition [-Wold-style-definition] 155 | SwapThreeBytes (src, dest, srclen, srcinc, destinc, height, byte_order) | ^~~~~~~~~~~~~~ put_image.c: In function 'SwapFourBytes': put_image.c:185:1: warning: old-style function definition [-Wold-style-definition] 185 | SwapFourBytes (src, dest, srclen, srcinc, destinc, height, half_order) | ^~~~~~~~~~~~~ put_image.c: In function 'SwapWords': put_image.c:220:1: warning: old-style function definition [-Wold-style-definition] 220 | SwapWords (src, dest, srclen, srcinc, destinc, height, half_order) | ^~~~~~~~~ put_image.c: In function 'SwapNibbles': put_image.c:255:1: warning: old-style function definition [-Wold-style-definition] 255 | SwapNibbles (src, dest, srclen, srcinc, destinc, height) | ^~~~~~~~~~~ put_image.c: In function 'ShiftNibblesLeft': put_image.c:271:1: warning: old-style function definition [-Wold-style-definition] 271 | ShiftNibblesLeft (src, dest, srclen, srcinc, destinc, height, nibble_order) | ^~~~~~~~~~~~~~~~ put_image.c: In function 'SwapBits': put_image.c:301:1: warning: old-style function definition [-Wold-style-definition] 301 | SwapBits (src, dest, srclen, srcinc, destinc, height, half_order) | ^~~~~~~~ put_image.c: In function 'SwapBitsAndTwoBytes': put_image.c:318:1: warning: old-style function definition [-Wold-style-definition] 318 | SwapBitsAndTwoBytes (src, dest, srclen, srcinc, destinc, height, half_order) | ^~~~~~~~~~~~~~~~~~~ put_image.c: In function 'SwapBitsAndFourBytes': put_image.c:346:1: warning: old-style function definition [-Wold-style-definition] 346 | SwapBitsAndFourBytes (src, dest, srclen, srcinc, destinc, height, half_order) | ^~~~~~~~~~~~~~~~~~~~ put_image.c: In function 'SwapBitsAndWords': put_image.c:382:1: warning: old-style function definition [-Wold-style-definition] 382 | SwapBitsAndWords (src, dest, srclen, srcinc, destinc, height, half_order) | ^~~~~~~~~~~~~~~~ put_image.c: In function 'SetReqByteOrder': put_image.c:554:6: warning: old-style function definition [-Wold-style-definition] 554 | void SetReqByteOrder(req) | ^~~~~~~~~~~~~~~ put_image.c: In function 'SendXYImage': put_image.c:567:1: warning: old-style function definition [-Wold-style-definition] 567 | SendXYImage(fd, seqno, image_format, req, image, req_xoffset, req_yoffset) | ^~~~~~~~~~~ put_image.c:665:14: error: too many arguments to function 'swapfunc'; expected 0, have 7 665 | (*swapfunc)((unsigned char *)src, (unsigned char *)dest, | ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ put_image.c:684:10: error: too many arguments to function 'swapfunc'; expected 0, have 7 684 | (*swapfunc)((unsigned char *)src, (unsigned char *)dest, | ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ put_image.c: In function 'SendZImage': put_image.c:699:1: warning: old-style function definition [-Wold-style-definition] 699 | SendZImage(fd, seqno, image_format, req, image, req_xoffset, req_yoffset, | ^~~~~~~~~~ put_image.c: In function 'PutImageRequest': put_image.c:786:1: warning: old-style function definition [-Wold-style-definition] 786 | PutImageRequest(fd, seqno, image_format, d, gc, image, req_xoffset, req_yoffset, x, y, | ^~~~~~~~~~~~~~~ put_image.c: In function 'PutSubImage': put_image.c:820:1: warning: old-style function definition [-Wold-style-definition] 820 | PutSubImage (fd, seqno, image_format, d, gc, image, req_xoffset, req_yoffset, x, y, | ^~~~~~~~~~~ put_image.c: In function 'XMOVEPutImage': put_image.c:886:1: warning: old-style function definition [-Wold-style-definition] 886 | XMOVEPutImage (fd, seqno, image_format, d, gc, image, req_xoffset, req_yoffset, | ^~~~~~~~~~~~~ make: *** [: put_image.o] Error 1 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ server.c: In function 'StartClientConnection': server.c:181:1: warning: old-style function definition [-Wold-style-definition] 181 | StartClientConnection(client) | ^~~~~~~~~~~~~~~~~~~~~ server.c:202:37: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 202 | client->fdd->ByteProcessing = StartSetUpMessage; | ^ server.c:54:12: note: 'StartSetUpMessage' declared here 54 | static int StartSetUpMessage P((Pointer private_data , unsigned char *buf , long n )); | ^~~~~~~~~~~~~~~~~ In file included from xmond.h:30, from xmove.h:87, from server.c:47: common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'StartServerConnection': server.c:234:1: warning: old-style function definition [-Wold-style-definition] 234 | StartServerConnection(server) | ^~~~~~~~~~~~~~~~~~~~~ server.c:252:39: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 252 | server->fdd->ByteProcessing = StartSetUpReply; | ^ server.c:57:12: note: 'StartSetUpReply' declared here 57 | static int StartSetUpReply P((Pointer private_data , unsigned char *buf , long n )); | ^~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'RestartServerConnection': server.c:267:1: warning: old-style function definition [-Wold-style-definition] 267 | RestartServerConnection(server) | ^~~~~~~~~~~~~~~~~~~~~~~ server.c:290:33: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 290 | server->fdd->ByteProcessing = ServerPacket; | ^ server.c:59:12: note: 'ServerPacket' declared here 59 | int ServerPacket P((Pointer private_data , unsigned char *buf, long n )); | ^~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'StartSetUpMessage': server.c:303:1: warning: old-style function definition [-Wold-style-definition] 303 | StartSetUpMessage (private_data, buf, n) | ^~~~~~~~~~~~~~~~~ server.c:333:37: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 333 | client->fdd->ByteProcessing = FinishSetUpMessage; | ^ server.c:55:12: note: 'FinishSetUpMessage' declared here 55 | static int FinishSetUpMessage P((Pointer private_data , unsigned char *buf , long n )); | ^~~~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'FinishSetUpMessage': server.c:340:1: warning: old-style function definition [-Wold-style-definition] 340 | FinishSetUpMessage (private_data, buf, n) | ^~~~~~~~~~~~~~~~~~ server.c:384:37: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 384 | client->fdd->ByteProcessing = ClientRequest; | ^ server.c:56:12: note: 'ClientRequest' declared here 56 | static int ClientRequest P((Pointer private_data , unsigned char *buf, long n )); | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'XmoveMovedClientSetUp': server.c:406:34: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 406 | client->fdd->ByteProcessing = XmoveMovedClientSetUp2; | ^ server.c:69:12: note: 'XmoveMovedClientSetUp2' declared here 69 | static int XmoveMovedClientSetUp2 P((Pointer private_data, unsigned char *buf, long n)); | ^~~~~~~~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'XmoveMovedClientSetUp2': server.c:432:39: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 432 | client->fdd->ByteProcessing = XmoveMovedClientGetName; | ^ server.c:70:12: note: 'XmoveMovedClientGetName' declared here 70 | static int XmoveMovedClientGetName P((Pointer private_data, unsigned char *buf, long n)); | ^~~~~~~~~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'XmoveCtrlMoveAll': server.c:496:34: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 496 | client->fdd->ByteProcessing = XmoveCtrlRequest; | ^ server.c:65:12: note: 'XmoveCtrlRequest' declared here 65 | static int XmoveCtrlRequest P((Pointer private_data, unsigned char *buf, long n)); | ^~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'XmoveCtrlSetDefaultServer': server.c:530:34: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 530 | client->fdd->ByteProcessing = XmoveCtrlRequest; | ^ server.c:65:12: note: 'XmoveCtrlRequest' declared here 65 | static int XmoveCtrlRequest P((Pointer private_data, unsigned char *buf, long n)); | ^~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'XmoveCtrlMove': server.c:599:34: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 599 | client->fdd->ByteProcessing = XmoveCtrlRequest; | ^ server.c:65:12: note: 'XmoveCtrlRequest' declared here 65 | static int XmoveCtrlRequest P((Pointer private_data, unsigned char *buf, long n)); | ^~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'XmoveCtrlList': server.c:675:34: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 675 | client->fdd->ByteProcessing = XmoveCtrlRequest; | ^ server.c:65:12: note: 'XmoveCtrlRequest' declared here 65 | static int XmoveCtrlRequest P((Pointer private_data, unsigned char *buf, long n)); | ^~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'XmoveCtrlStartSetUp': server.c:691:34: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 691 | client->fdd->ByteProcessing = XmoveCtrlFinishSetUp; | ^ server.c:67:12: note: 'XmoveCtrlFinishSetUp' declared here 67 | static int XmoveCtrlFinishSetUp P((Pointer private_data, unsigned char *buf, long n)); | ^~~~~~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'XmoveCtrlFinishSetUp': server.c:704:34: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 704 | client->fdd->ByteProcessing = XmoveCtrlRequest; | ^ server.c:65:12: note: 'XmoveCtrlRequest' declared here 65 | static int XmoveCtrlRequest P((Pointer private_data, unsigned char *buf, long n)); | ^~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c:724:39: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 724 | server->fdd->ByteProcessing = IgnoreServerBytes; | ^ server.c:73:12: note: 'IgnoreServerBytes' declared here 73 | static int IgnoreServerBytes P((Pointer private_data, unsigned char *buf, long n)); | ^~~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'XmoveCtrlRequest': server.c:761:39: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 761 | client->fdd->ByteProcessing = XmoveCtrlMoveAll; | ^ server.c:457:1: note: 'XmoveCtrlMoveAll' declared here 457 | XmoveCtrlMoveAll (Pointer private_data, unsigned char *buf, long n) | ^~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c:765:39: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 765 | client->fdd->ByteProcessing = XmoveCtrlList; | ^ server.c:632:1: note: 'XmoveCtrlList' declared here 632 | XmoveCtrlList (Pointer private_data, unsigned char *buf, long n) | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c:769:39: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 769 | client->fdd->ByteProcessing = XmoveCtrlMove; | ^ server.c:536:1: note: 'XmoveCtrlMove' declared here 536 | XmoveCtrlMove (Pointer private_data, unsigned char *buf, long n) | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c:773:39: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 773 | client->fdd->ByteProcessing = XmoveCtrlQuit; | ^ server.c:605:1: note: 'XmoveCtrlQuit' declared here 605 | XmoveCtrlQuit (Pointer private_data, unsigned char *buf, long n) | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c:777:39: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 777 | client->fdd->ByteProcessing = XmoveCtrlSetDefaultServer; | ^ server.c:502:1: note: 'XmoveCtrlSetDefaultServer' declared here 502 | XmoveCtrlSetDefaultServer (Pointer private_data, unsigned char *buf, long n) | ^~~~~~~~~~~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'ClientRequest': server.c:788:1: warning: old-style function definition [-Wold-style-definition] 788 | ClientRequest (private_data, buf, n) | ^~~~~~~~~~~~~ server.c:797:38: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 797 | client->fdd->ByteProcessing = ClientRequest; | ^ server.c:788:1: note: 'ClientRequest' declared here 788 | ClientRequest (private_data, buf, n) | ^~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'StartSetUpReply': server.c:809:1: warning: old-style function definition [-Wold-style-definition] 809 | StartSetUpReply (private_data, buf, n) | ^~~~~~~~~~~~~~~ server.c:817:33: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 817 | server->fdd->ByteProcessing = FinishSetUpReply; | ^ server.c:58:12: note: 'FinishSetUpReply' declared here 58 | static int FinishSetUpReply P((Pointer private_data , unsigned char *buf , long n )); | ^~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'FinishSetUpReply': server.c:823:1: warning: old-style function definition [-Wold-style-definition] 823 | FinishSetUpReply (private_data, buf, n) | ^~~~~~~~~~~~~~~~ server.c:837:33: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 837 | server->fdd->ByteProcessing = ServerPacket; | ^ server.c:59:12: note: 'ServerPacket' declared here 59 | int ServerPacket P((Pointer private_data , unsigned char *buf, long n )); | ^~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'MoveWindowRequest1': server.c:846:34: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 846 | server->fdd->ByteProcessing = MoveWindowRequest2; | ^ server.c:72:12: note: 'MoveWindowRequest2' declared here 72 | static int MoveWindowRequest2 P((Pointer private_data, unsigned char *buf, long n)); | ^~~~~~~~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'MoveWindowRequest2': server.c:879:34: error: assignment to 'IntCallback' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(char *, unsigned char *, long int)' [-Wincompatible-pointer-types] 879 | server->fdd->ByteProcessing = ServerPacket; | ^ server.c:59:12: note: 'ServerPacket' declared here 59 | int ServerPacket P((Pointer private_data , unsigned char *buf, long n )); | ^~~~~~~~~~~~ common.h:36:51: note: 'IntCallback' declared here 36 | typedef int (*IntCallback)(); /* ptr to int function */ | ^~~~~~~~~~~ server.c: In function 'ServerPacket': server.c:886:1: warning: old-style function definition [-Wold-style-definition] 886 | ServerPacket (private_data, buf, n) | ^~~~~~~~~~~~ server.c: In function 'IgnoreServerBytes': server.c:918:1: warning: old-style function definition [-Wold-style-definition] 918 | IgnoreServerBytes (private_data, buf, n) | ^~~~~~~~~~~~~~~~~ make: *** [: server.o] Error 1 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # 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 print11.o print11.c In file included from /usr/include/malloc.h:23, from print11.c:112: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ print11.c: In function 'PrintSetUpMessage': print11.c:191:1: warning: old-style function definition [-Wold-style-definition] 191 | PrintSetUpMessage(buf) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'PrintSetUpReply': print11.c:215:1: warning: old-style function definition [-Wold-style-definition] 215 | PrintSetUpReply(buf) | ^~~~~~~~~~~~~~~ print11.c: In function 'SendClientMessageEvent': print11.c:529:31: error: too many arguments to function 'atom->type_map_func->MapProperty'; expected 0, have 9 529 | (atom->type_map_func->MapProperty)(MapSendClientMessage, NULL, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ In file included from print11.c:114: xmove.h:97:13: note: declared here 97 | void (*MapProperty) (); | ^~~~~~~~~~~ print11.c: In function 'ValueError': print11.c:573:1: warning: old-style function definition [-Wold-style-definition] 573 | ValueError(buf) | ^~~~~~~~~~ print11.c: In function 'WindowError': print11.c:588:1: warning: old-style function definition [-Wold-style-definition] 588 | WindowError(buf) | ^~~~~~~~~~~ print11.c: In function 'PixmapError': print11.c:605:1: warning: old-style function definition [-Wold-style-definition] 605 | PixmapError(buf) | ^~~~~~~~~~~ print11.c: In function 'AtomError': print11.c:622:1: warning: old-style function definition [-Wold-style-definition] 622 | AtomError(buf) | ^~~~~~~~~ print11.c: In function 'CursorError': print11.c:639:1: warning: old-style function definition [-Wold-style-definition] 639 | CursorError(buf) | ^~~~~~~~~~~ print11.c: In function 'FontError': print11.c:656:1: warning: old-style function definition [-Wold-style-definition] 656 | FontError(buf) | ^~~~~~~~~ print11.c: In function 'MatchError': print11.c:673:1: warning: old-style function definition [-Wold-style-definition] 673 | MatchError(buf) | ^~~~~~~~~~ print11.c: In function 'DrawableError': print11.c:687:1: warning: old-style function definition [-Wold-style-definition] 687 | DrawableError(buf) | ^~~~~~~~~~~~~ print11.c: In function 'AccessError': print11.c:704:1: warning: old-style function definition [-Wold-style-definition] 704 | AccessError(buf) | ^~~~~~~~~~~ print11.c: In function 'AllocError': print11.c:718:1: warning: old-style function definition [-Wold-style-definition] 718 | AllocError(buf) | ^~~~~~~~~~ print11.c: In function 'ColormapError': print11.c:732:1: warning: old-style function definition [-Wold-style-definition] 732 | ColormapError(buf) | ^~~~~~~~~~~~~ print11.c: In function 'GContextError': print11.c:749:1: warning: old-style function definition [-Wold-style-definition] 749 | GContextError(buf) | ^~~~~~~~~~~~~ print11.c: In function 'IDChoiceError': print11.c:766:1: warning: old-style function definition [-Wold-style-definition] 766 | IDChoiceError(buf) | ^~~~~~~~~~~~~ print11.c: In function 'NameError': print11.c:783:1: warning: old-style function definition [-Wold-style-definition] 783 | NameError(buf) | ^~~~~~~~~ print11.c: In function 'LengthError': print11.c:797:1: warning: old-style function definition [-Wold-style-definition] 797 | LengthError(buf) | ^~~~~~~~~~~ print11.c: In function 'ImplementationError': print11.c:812:1: warning: old-style function definition [-Wold-style-definition] 812 | ImplementationError(buf) | ^~~~~~~~~~~~~~~~~~~ print11.c: In function 'PrintEventName': print11.c:841:1: warning: old-style function definition [-Wold-style-definition] 841 | PrintEventName(buf) | ^~~~~~~~~~~~~~ print11.c: In function 'SelectionRequestEvent': print11.c:1530:31: error: too many arguments to function 'atom->type_map_func->MapProperty'; expected 0, have 9 1530 | (atom->type_map_func->MapProperty)(MapSelectionRequest, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ xmove.h:97:13: note: declared here 97 | void (*MapProperty) (); | ^~~~~~~~~~~ print11.c: In function 'ClientMessageEvent': print11.c:1612:1: warning: old-style function definition [-Wold-style-definition] 1612 | ClientMessageEvent(buf) | ^~~~~~~~~~~~~~~~~~ print11.c:1626:31: error: too many arguments to function 'atom->type_map_func->MapProperty'; expected 0, have 9 1626 | (atom->type_map_func->MapProperty)(MapClientMessage, NULL, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ xmove.h:97:13: note: declared here 97 | void (*MapProperty) (); | ^~~~~~~~~~~ In file included from xmove.h:87: 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:1781:1: warning: old-style function definition [-Wold-style-definition] 1781 | ChangeWindowAttributes(buf) | ^~~~~~~~~~~~~~~~~~~~~~ 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 'GetWindowAttributesReply': print11.c:1840:1: warning: old-style function definition [-Wold-style-definition] 1840 | GetWindowAttributesReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'DestroySubwindows': print11.c:1918:1: warning: old-style function definition [-Wold-style-definition] 1918 | DestroySubwindows(buf) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'ChangeSaveSet': print11.c:1940:1: warning: old-style function definition [-Wold-style-definition] 1940 | ChangeSaveSet(buf) | ^~~~~~~~~~~~~ print11.c: In function 'ReparentWindow': print11.c:1960:1: warning: old-style function definition [-Wold-style-definition] 1960 | ReparentWindow(buf) | ^~~~~~~~~~~~~~ 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 'MapWindow': print11.c:1997:1: warning: old-style function definition [-Wold-style-definition] 1997 | MapWindow(buf) | ^~~~~~~~~ print11.c: In function 'MapSubwindows': print11.c:2028:1: warning: old-style function definition [-Wold-style-definition] 2028 | MapSubwindows(buf) | ^~~~~~~~~~~~~ print11.c: In function 'UnmapWindow': print11.c:2047:1: warning: old-style function definition [-Wold-style-definition] 2047 | UnmapWindow(buf) | ^~~~~~~~~~~ print11.c: In function 'UnmapSubwindows': print11.c:2078:1: warning: old-style function definition [-Wold-style-definition] 2078 | UnmapSubwindows(buf) | ^~~~~~~~~~~~~~~ print11.c: In function 'ConfigureWindow': print11.c:2097:1: warning: old-style function definition [-Wold-style-definition] 2097 | ConfigureWindow(buf) | ^~~~~~~~~~~~~~~ print11.c: In function 'CirculateWindow': print11.c:2132:1: warning: old-style function definition [-Wold-style-definition] 2132 | CirculateWindow(buf) | ^~~~~~~~~~~~~~~ print11.c: In function 'GetGeometry': print11.c:2152:1: warning: old-style function definition [-Wold-style-definition] 2152 | GetGeometry(buf) | ^~~~~~~~~~~ print11.c: In function 'GetGeometryReply': print11.c:2171:1: warning: old-style function definition [-Wold-style-definition] 2171 | GetGeometryReply(buf, context) | ^~~~~~~~~~~~~~~~ print11.c: In function 'QueryTree': print11.c:2192:1: warning: old-style function definition [-Wold-style-definition] 2192 | QueryTree(buf) | ^~~~~~~~~ print11.c: In function 'QueryTreeReply': print11.c:2211:1: warning: old-style function definition [-Wold-style-definition] 2211 | QueryTreeReply(buf, context) | ^~~~~~~~~~~~~~ print11.c: In function 'InternAtom': print11.c:2238:1: warning: old-style function definition [-Wold-style-definition] 2238 | InternAtom(buf) | ^~~~~~~~~~ print11.c: In function 'InternAtomReply': print11.c:2263:1: warning: old-style function definition [-Wold-style-definition] 2263 | InternAtomReply(buf, context) | ^~~~~~~~~~~~~~~ print11.c: In function 'GetAtomName': print11.c:2288:1: warning: old-style function definition [-Wold-style-definition] 2288 | GetAtomName(buf) | ^~~~~~~~~~~ print11.c: In function 'GetAtomNameReply': print11.c:2307:1: warning: old-style function definition [-Wold-style-definition] 2307 | GetAtomNameReply(buf, context) | ^~~~~~~~~~~~~~~~ print11.c: In function 'ChangeProperty': print11.c:2324:1: warning: old-style function definition [-Wold-style-definition] 2324 | ChangeProperty(buf) | ^~~~~~~~~~~~~~ print11.c:2355:10: error: too many arguments to function 'map_func'; expected 0, have 9 2355 | (map_func)(MapChangeProp, &new_atom, &new_type, NULL, | ^ ~~~~~~~~~~~~~ print11.c: In function 'DeleteProperty': print11.c:2392:1: warning: old-style function definition [-Wold-style-definition] 2392 | DeleteProperty(buf) | ^~~~~~~~~~~~~~ print11.c:2410:40: error: too many arguments to function 'atom->property_map_func->MapProperty'; expected 0, have 9 2410 | (atom->property_map_func->MapProperty)(MapDeleteProp, &new_atom, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~ xmove.h:97:13: note: declared here 97 | void (*MapProperty) (); | ^~~~~~~~~~~ print11.c: In function 'GetProperty': print11.c:2436:1: warning: old-style function definition [-Wold-style-definition] 2436 | GetProperty(buf) | ^~~~~~~~~~~ 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:2471:11: error: too many arguments to function 'map_func'; expected 0, have 9 2471 | (map_func)(MapGetProp, &new_atom, &new_type, NULL, | ^ ~~~~~~~~~~ print11.c: In function 'GetPropertyReply': print11.c:2507:1: warning: old-style function definition [-Wold-style-definition] 2507 | GetPropertyReply(buf, context) | ^~~~~~~~~~~~~~~~ print11.c:2532:11: error: too many arguments to function 'map_func'; expected 0, have 9 2532 | (map_func)(MapGetPropReply, &temps->server_atom, &new_type, | ^ ~~~~~~~~~~~~~~~ print11.c: In function 'ListProperties': print11.c:2561:1: warning: old-style function definition [-Wold-style-definition] 2561 | ListProperties(buf) | ^~~~~~~~~~~~~~ print11.c: In function 'ListPropertiesReply': print11.c:2580:1: warning: old-style function definition [-Wold-style-definition] 2580 | ListPropertiesReply(buf, context) | ^~~~~~~~~~~~~~~~~~~ print11.c: In function 'SetSelectionOwner': print11.c:2602:1: warning: old-style function definition [-Wold-style-definition] 2602 | SetSelectionOwner(buf) | ^~~~~~~~~~~~~~~~~ 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 'GetSelectionOwner': print11.c:2645:1: warning: old-style function definition [-Wold-style-definition] 2645 | GetSelectionOwner(buf) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'GetSelectionOwnerReply': print11.c:2664:1: warning: old-style function definition [-Wold-style-definition] 2664 | GetSelectionOwnerReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'ConvertSelection': print11.c:2680:1: warning: old-style function definition [-Wold-style-definition] 2680 | ConvertSelection(buf) | ^~~~~~~~~~~~~~~~ print11.c:2703:31: error: too many arguments to function 'atom->type_map_func->MapProperty'; expected 0, have 9 2703 | (atom->type_map_func->MapProperty)(MapConvertSelection, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ xmove.h:97:13: note: declared here 97 | void (*MapProperty) (); | ^~~~~~~~~~~ print11.c: In function 'SendEvent': print11.c:2738:1: warning: old-style function definition [-Wold-style-definition] 2738 | SendEvent(buf) | ^~~~~~~~~ print11.c: In function 'GrabPointer': print11.c:2889:1: warning: old-style function definition [-Wold-style-definition] 2889 | GrabPointer(buf) | ^~~~~~~~~~~ print11.c: In function 'GrabPointerReply': print11.c:2936:1: warning: old-style function definition [-Wold-style-definition] 2936 | GrabPointerReply(buf, context) | ^~~~~~~~~~~~~~~~ print11.c: In function 'UngrabPointer': print11.c:2958:1: warning: old-style function definition [-Wold-style-definition] 2958 | UngrabPointer(buf) | ^~~~~~~~~~~~~ print11.c: In function 'GrabButton': print11.c:2978:1: warning: old-style function definition [-Wold-style-definition] 2978 | GrabButton(buf) | ^~~~~~~~~~ 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 'UngrabButton': print11.c:3026:1: warning: old-style function definition [-Wold-style-definition] 3026 | UngrabButton(buf) | ^~~~~~~~~~~~ print11.c: In function 'ChangeActivePointerGrab': print11.c:3049:1: warning: old-style function definition [-Wold-style-definition] 3049 | ChangeActivePointerGrab(buf) | ^~~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'GrabKeyboard': print11.c:3076:1: warning: old-style function definition [-Wold-style-definition] 3076 | GrabKeyboard(buf) | ^~~~~~~~~~~~ print11.c: In function 'GrabKeyboardReply': print11.c:3113:1: warning: old-style function definition [-Wold-style-definition] 3113 | GrabKeyboardReply(buf, context) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'UngrabKeyboard': print11.c:3135:1: warning: old-style function definition [-Wold-style-definition] 3135 | UngrabKeyboard(buf) | ^~~~~~~~~~~~~~ print11.c: In function 'GrabKey': print11.c:3155:1: warning: old-style function definition [-Wold-style-definition] 3155 | GrabKey(buf) | ^~~~~~~ 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 'UngrabKey': print11.c:3193:1: warning: old-style function definition [-Wold-style-definition] 3193 | UngrabKey(buf) | ^~~~~~~~~ print11.c: In function 'AllowEvents': print11.c:3220:1: warning: old-style function definition [-Wold-style-definition] 3220 | AllowEvents(buf) | ^~~~~~~~~~~ print11.c: In function 'GrabServer': print11.c:3259:1: warning: old-style function definition [-Wold-style-definition] 3259 | GrabServer(buf) | ^~~~~~~~~~ print11.c: In function 'UngrabServer': print11.c:3278:1: warning: old-style function definition [-Wold-style-definition] 3278 | UngrabServer(buf) | ^~~~~~~~~~~~ print11.c: In function 'QueryPointer': print11.c:3297:1: warning: old-style function definition [-Wold-style-definition] 3297 | QueryPointer(buf) | ^~~~~~~~~~~~ print11.c: In function 'QueryPointerReply': print11.c:3317:1: warning: old-style function definition [-Wold-style-definition] 3317 | QueryPointerReply(buf, context) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'GetMotionEvents': print11.c:3341:1: warning: old-style function definition [-Wold-style-definition] 3341 | GetMotionEvents(buf) | ^~~~~~~~~~~~~~~ print11.c: In function 'GetMotionEventsReply': print11.c:3363:1: warning: old-style function definition [-Wold-style-definition] 3363 | GetMotionEventsReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~ print11.c: In function 'TranslateCoordinates': print11.c:3379:1: warning: old-style function definition [-Wold-style-definition] 3379 | TranslateCoordinates(buf) | ^~~~~~~~~~~~~~~~~~~~ print11.c: In function 'TranslateCoordinatesReply': print11.c:3403:1: warning: old-style function definition [-Wold-style-definition] 3403 | TranslateCoordinatesReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'WarpPointer': print11.c:3422:1: warning: old-style function definition [-Wold-style-definition] 3422 | WarpPointer(buf) | ^~~~~~~~~~~ print11.c: In function 'SetInputFocus': print11.c:3452:1: warning: old-style function definition [-Wold-style-definition] 3452 | SetInputFocus(buf) | ^~~~~~~~~~~~~ print11.c: In function 'GetInputFocus': print11.c:3476:1: warning: old-style function definition [-Wold-style-definition] 3476 | GetInputFocus(buf) | ^~~~~~~~~~~~~ print11.c: In function 'GetInputFocusReply': print11.c:3492:1: warning: old-style function definition [-Wold-style-definition] 3492 | GetInputFocusReply(buf, context) | ^~~~~~~~~~~~~~~~~~ print11.c: In function 'QueryKeymap': print11.c:3509:1: warning: old-style function definition [-Wold-style-definition] 3509 | QueryKeymap(buf) | ^~~~~~~~~~~ print11.c: In function 'QueryKeymapReply': print11.c:3525:1: warning: old-style function definition [-Wold-style-definition] 3525 | QueryKeymapReply(buf, context) | ^~~~~~~~~~~~~~~~ print11.c: In function 'QueryFont': print11.c:3594:1: warning: old-style function definition [-Wold-style-definition] 3594 | QueryFont(buf) | ^~~~~~~~~ print11.c: In function 'QueryFontReply': print11.c:3613:1: warning: old-style function definition [-Wold-style-definition] 3613 | QueryFontReply(buf, context) | ^~~~~~~~~~~~~~ print11.c: In function 'QueryTextExtents': print11.c:3648:1: warning: old-style function definition [-Wold-style-definition] 3648 | QueryTextExtents(buf) | ^~~~~~~~~~~~~~~~ print11.c: In function 'QueryTextExtentsReply': print11.c:3674:1: warning: old-style function definition [-Wold-style-definition] 3674 | QueryTextExtentsReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'ListFonts': print11.c:3694:1: warning: old-style function definition [-Wold-style-definition] 3694 | ListFonts(buf) | ^~~~~~~~~ print11.c: In function 'ListFontsReply': print11.c:3715:1: warning: old-style function definition [-Wold-style-definition] 3715 | ListFontsReply(buf, context) | ^~~~~~~~~~~~~~ print11.c: In function 'ListFontsWithInfo': print11.c:3732:1: warning: old-style function definition [-Wold-style-definition] 3732 | ListFontsWithInfo(buf) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'ListFontsWithInfoReply': print11.c:3753:1: warning: old-style function definition [-Wold-style-definition] 3753 | ListFontsWithInfoReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'ListFontsWithInfoReply1': print11.c:3780:1: warning: old-style function definition [-Wold-style-definition] 3780 | ListFontsWithInfoReply1(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'ListFontsWithInfoReply2': print11.c:3810:1: warning: old-style function definition [-Wold-style-definition] 3810 | ListFontsWithInfoReply2(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'SetFontPath': print11.c:3821:1: warning: old-style function definition [-Wold-style-definition] 3821 | SetFontPath(buf) | ^~~~~~~~~~~ print11.c: In function 'GetFontPath': print11.c:3841:1: warning: old-style function definition [-Wold-style-definition] 3841 | GetFontPath(buf) | ^~~~~~~~~~~ print11.c: In function 'GetFontPathReply': print11.c:3857:1: warning: old-style function definition [-Wold-style-definition] 3857 | GetFontPathReply(buf, context) | ^~~~~~~~~~~~~~~~ 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 'CopyGC': print11.c:4119:1: warning: old-style function definition [-Wold-style-definition] 4119 | CopyGC(buf) | ^~~~~~ print11.c: In function 'SetDashes': print11.c:4158:1: warning: old-style function definition [-Wold-style-definition] 4158 | SetDashes(buf) | ^~~~~~~~~ print11.c: In function 'SetClipRectangles': print11.c:4183:1: warning: old-style function definition [-Wold-style-definition] 4183 | SetClipRectangles(buf) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'FreeGC': print11.c:4233:1: warning: old-style function definition [-Wold-style-definition] 4233 | FreeGC(buf) | ^~~~~~ print11.c: In function 'CreateColormap': print11.c:4859:1: warning: old-style function definition [-Wold-style-definition] 4859 | CreateColormap(buf) | ^~~~~~~~~~~~~~ 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 'FreeColormap': print11.c:4905:1: warning: old-style function definition [-Wold-style-definition] 4905 | FreeColormap(buf) | ^~~~~~~~~~~~ print11.c: In function 'CopyColormapAndFree': print11.c:4925:1: warning: old-style function definition [-Wold-style-definition] 4925 | CopyColormapAndFree(buf) | ^~~~~~~~~~~~~~~~~~~ print11.c: In function 'InstallColormap': print11.c:4969:1: warning: old-style function definition [-Wold-style-definition] 4969 | InstallColormap(buf) | ^~~~~~~~~~~~~~~ print11.c: In function 'UninstallColormap': print11.c:4988:1: warning: old-style function definition [-Wold-style-definition] 4988 | UninstallColormap(buf) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'ListInstalledColormaps': print11.c:5007:1: warning: old-style function definition [-Wold-style-definition] 5007 | ListInstalledColormaps(buf) | ^~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'ListInstalledColormapsReply': print11.c:5026:1: warning: old-style function definition [-Wold-style-definition] 5026 | ListInstalledColormapsReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'AllocColor': print11.c:5047:1: warning: old-style function definition [-Wold-style-definition] 5047 | AllocColor(buf) | ^~~~~~~~~~ print11.c: In function 'AllocColorReply': print11.c:5092:1: warning: old-style function definition [-Wold-style-definition] 5092 | AllocColorReply(buf, context) | ^~~~~~~~~~~~~~~ print11.c: In function 'AllocNamedColor': print11.c:5121:1: warning: old-style function definition [-Wold-style-definition] 5121 | AllocNamedColor(buf) | ^~~~~~~~~~~~~~~ print11.c: In function 'AllocNamedColorReply': print11.c:5151:1: warning: old-style function definition [-Wold-style-definition] 5151 | AllocNamedColorReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~ print11.c: In function 'AllocColorCells': print11.c:5183:1: warning: old-style function definition [-Wold-style-definition] 5183 | AllocColorCells(buf) | ^~~~~~~~~~~~~~~ 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 'AllocColorCellsReply': print11.c:5216:1: warning: old-style function definition [-Wold-style-definition] 5216 | AllocColorCellsReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~ print11.c: In function 'AllocColorPlanes': print11.c:5249:1: warning: old-style function definition [-Wold-style-definition] 5249 | AllocColorPlanes(buf) | ^~~~~~~~~~~~~~~~ print11.c: In function 'AllocColorPlanesReply': print11.c:5280:1: warning: old-style function definition [-Wold-style-definition] 5280 | AllocColorPlanesReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'FreeColors': print11.c:5313:1: warning: old-style function definition [-Wold-style-definition] 5313 | FreeColors(buf) | ^~~~~~~~~~ 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 'StoreColors': print11.c:5354:1: warning: old-style function definition [-Wold-style-definition] 5354 | StoreColors(buf) | ^~~~~~~~~~~ print11.c: In function 'StoreNamedColor': print11.c:5412:1: warning: old-style function definition [-Wold-style-definition] 5412 | StoreNamedColor(buf) | ^~~~~~~~~~~~~~~ print11.c: In function 'QueryColors': print11.c:5465:1: warning: old-style function definition [-Wold-style-definition] 5465 | QueryColors(buf) | ^~~~~~~~~~~ print11.c: In function 'QueryColorsReply': print11.c:5497:1: warning: old-style function definition [-Wold-style-definition] 5497 | QueryColorsReply(buf, context) | ^~~~~~~~~~~~~~~~ print11.c: In function 'LookupColor': print11.c:5513:1: warning: old-style function definition [-Wold-style-definition] 5513 | LookupColor(buf) | ^~~~~~~~~~~ print11.c: In function 'LookupColorReply': print11.c:5537:1: warning: old-style function definition [-Wold-style-definition] 5537 | LookupColorReply(buf, context) | ^~~~~~~~~~~~~~~~ print11.c: In function 'CreateCursor': print11.c:5555:1: warning: old-style function definition [-Wold-style-definition] 5555 | CreateCursor(buf) | ^~~~~~~~~~~~ print11.c: In function 'RecolorCursor': print11.c:5720:1: warning: old-style function definition [-Wold-style-definition] 5720 | RecolorCursor(buf) | ^~~~~~~~~~~~~ print11.c: In function 'QueryBestSize': print11.c:5760:1: warning: old-style function definition [-Wold-style-definition] 5760 | QueryBestSize(buf) | ^~~~~~~~~~~~~ print11.c: In function 'QueryBestSizeReply': print11.c:5782:1: warning: old-style function definition [-Wold-style-definition] 5782 | QueryBestSizeReply(buf, context) | ^~~~~~~~~~~~~~~~~~ print11.c: In function 'QueryExtension': print11.c:5796:1: warning: old-style function definition [-Wold-style-definition] 5796 | QueryExtension(buf) | ^~~~~~~~~~~~~~ print11.c: In function 'QueryExtensionReply': print11.c:5816:1: warning: old-style function definition [-Wold-style-definition] 5816 | QueryExtensionReply(buf, context) | ^~~~~~~~~~~~~~~~~~~ print11.c: In function 'ListExtensions': print11.c:5837:1: warning: old-style function definition [-Wold-style-definition] 5837 | ListExtensions(buf) | ^~~~~~~~~~~~~~ print11.c: In function 'ListExtensionsReply': print11.c:5853:1: warning: old-style function definition [-Wold-style-definition] 5853 | ListExtensionsReply(buf, context) | ^~~~~~~~~~~~~~~~~~~ print11.c: In function 'ChangeKeyboardMapping': print11.c:5870:1: warning: old-style function definition [-Wold-style-definition] 5870 | ChangeKeyboardMapping(buf) | ^~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'GetKeyboardMappingReply': print11.c:5969:1: warning: old-style function definition [-Wold-style-definition] 5969 | GetKeyboardMappingReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'ChangeKeyboardControl': print11.c:5986:1: warning: old-style function definition [-Wold-style-definition] 5986 | ChangeKeyboardControl(buf) | ^~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'GetKeyboardControl': print11.c:6004:1: warning: old-style function definition [-Wold-style-definition] 6004 | GetKeyboardControl(buf) | ^~~~~~~~~~~~~~~~~~ print11.c: In function 'GetKeyboardControlReply': print11.c:6020:1: warning: old-style function definition [-Wold-style-definition] 6020 | GetKeyboardControlReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'Bell': print11.c:6039:1: warning: old-style function definition [-Wold-style-definition] 6039 | Bell(buf) | ^~~~ print11.c: In function 'ChangePointerControl': print11.c:6056:1: warning: old-style function definition [-Wold-style-definition] 6056 | ChangePointerControl(buf) | ^~~~~~~~~~~~~~~~~~~~ print11.c: In function 'GetPointerControl': print11.c:6077:1: warning: old-style function definition [-Wold-style-definition] 6077 | GetPointerControl(buf) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'GetPointerControlReply': print11.c:6093:1: warning: old-style function definition [-Wold-style-definition] 6093 | GetPointerControlReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'SetScreenSaver': print11.c:6108:1: warning: old-style function definition [-Wold-style-definition] 6108 | SetScreenSaver(buf) | ^~~~~~~~~~~~~~ print11.c: In function 'GetScreenSaver': print11.c:6128:1: warning: old-style function definition [-Wold-style-definition] 6128 | GetScreenSaver(buf) | ^~~~~~~~~~~~~~ print11.c: In function 'GetScreenSaverReply': print11.c:6144:1: warning: old-style function definition [-Wold-style-definition] 6144 | GetScreenSaverReply(buf, context) | ^~~~~~~~~~~~~~~~~~~ print11.c: In function 'ChangeHosts': print11.c:6160:1: warning: old-style function definition [-Wold-style-definition] 6160 | ChangeHosts(buf) | ^~~~~~~~~~~ print11.c: In function 'ListHosts': print11.c:6182:1: warning: old-style function definition [-Wold-style-definition] 6182 | ListHosts(buf) | ^~~~~~~~~ print11.c: In function 'ListHostsReply': print11.c:6198:1: warning: old-style function definition [-Wold-style-definition] 6198 | ListHostsReply(buf, context) | ^~~~~~~~~~~~~~ print11.c: In function 'SetAccessControl': print11.c:6215:1: warning: old-style function definition [-Wold-style-definition] 6215 | SetAccessControl(buf) | ^~~~~~~~~~~~~~~~ print11.c: In function 'SetCloseDownMode': print11.c:6232:1: warning: old-style function definition [-Wold-style-definition] 6232 | SetCloseDownMode(buf) | ^~~~~~~~~~~~~~~~ print11.c: In function 'KillClient': print11.c:6251:1: warning: old-style function definition [-Wold-style-definition] 6251 | KillClient(buf) | ^~~~~~~~~~ print11.c: In function 'RotateProperties': print11.c:6268:1: warning: old-style function definition [-Wold-style-definition] 6268 | RotateProperties(buf) | ^~~~~~~~~~~~~~~~ print11.c: In function 'ForceScreenSaver': print11.c:6298:1: warning: old-style function definition [-Wold-style-definition] 6298 | ForceScreenSaver(buf) | ^~~~~~~~~~~~~~~~ print11.c: In function 'SetPointerMapping': print11.c:6315:1: warning: old-style function definition [-Wold-style-definition] 6315 | SetPointerMapping(buf) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'SetPointerMappingReply': print11.c:6338:1: warning: old-style function definition [-Wold-style-definition] 6338 | SetPointerMappingReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'GetPointerMapping': print11.c:6351:1: warning: old-style function definition [-Wold-style-definition] 6351 | GetPointerMapping(buf) | ^~~~~~~~~~~~~~~~~ print11.c: In function 'GetPointerMappingReply': print11.c:6367:1: warning: old-style function definition [-Wold-style-definition] 6367 | GetPointerMappingReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'SetModifierMapping': print11.c:6383:1: warning: old-style function definition [-Wold-style-definition] 6383 | SetModifierMapping(buf) | ^~~~~~~~~~~~~~~~~~ print11.c: In function 'SetModifierMappingReply': print11.c:6410:1: warning: old-style function definition [-Wold-style-definition] 6410 | SetModifierMappingReply(buf, context) | ^~~~~~~~~~~~~~~~~~~~~~~ print11.c: In function 'NoOperation': print11.c:6454:1: warning: old-style function definition [-Wold-style-definition] 6454 | NoOperation(buf) | ^~~~~~~~~~~ print11.c: In function 'PrintFailedSetUpReply': print11.c:6475:1: warning: old-style function definition [-Wold-style-definition] 6475 | PrintFailedSetUpReply(buf) | ^~~~~~~~~~~~~~~~~~~~~ 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 make: *** [: print11.o] Error 1 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ linkl.c: In function 'initList': linkl.c:34:1: warning: old-style function definition [-Wold-style-definition] 34 | initList(list) | ^~~~~~~~ linkl.c: In function 'prependToList': linkl.c:42:1: warning: old-style function definition [-Wold-style-definition] 42 | prependToList(list, contents) | ^~~~~~~~~~~~~ linkl.c: In function 'appendToList': linkl.c:60:1: warning: old-style function definition [-Wold-style-definition] 60 | appendToList(list, contents) | ^~~~~~~~~~~~ linkl.c: In function 'deleteFirst': linkl.c:78:1: warning: old-style function definition [-Wold-style-definition] 78 | deleteFirst(list) | ^~~~~~~~~~~ linkl.c: In function 'deleteLast': linkl.c:96:1: warning: old-style function definition [-Wold-style-definition] 96 | deleteLast(list) | ^~~~~~~~~~ linkl.c: In function 'deleteCurrent': linkl.c:114:1: warning: old-style function definition [-Wold-style-definition] 114 | deleteCurrent(list) | ^~~~~~~~~~~~~ linkl.c: In function 'AppendToCurrent': linkl.c:130:1: warning: old-style function definition [-Wold-style-definition] 130 | AppendToCurrent(list, contents) | ^~~~~~~~~~~~~~~ linkl.c: In function 'PrependToCurrent': linkl.c:148:1: warning: old-style function definition [-Wold-style-definition] 148 | PrependToCurrent(list, contents) | ^~~~~~~~~~~~~~~~ linkl.c: In function 'deleteList': linkl.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | deleteList(list) | ^~~~~~~~~~ linkl.c: In function 'freeList': linkl.c:174:1: warning: old-style function definition [-Wold-style-definition] 174 | freeList(list) | ^~~~~~~~ linkl.c: In function 'freeCurrent': linkl.c:182:1: warning: old-style function definition [-Wold-style-definition] 182 | freeCurrent(list) | ^~~~~~~~~~~ linkl.c: In function 'freeMatchingLeaf': linkl.c:189:1: warning: old-style function definition [-Wold-style-definition] 189 | freeMatchingLeaf(list, contents) | ^~~~~~~~~~~~~~~~ linkl.c: In function 'findMatchingLeaf': linkl.c:205:1: warning: old-style function definition [-Wold-style-definition] 205 | findMatchingLeaf(list, contents) | ^~~~~~~~~~~~~~~~ linkl.c: In function 'indexOfContents': linkl.c:218:1: warning: old-style function definition [-Wold-style-definition] 218 | indexOfContents(list, contents) | ^~~~~~~~~~~~~~~ linkl.c: In function 'getIndexedContents': linkl.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | getIndexedContents(list, index) | ^~~~~~~~~~~~~~~~~~ linkl.c: In function 'freeLeaf': linkl.c:246:1: warning: old-style function definition [-Wold-style-definition] 246 | freeLeaf(list, leaf) | ^~~~~~~~ linkl.c: In function 'deleteLeaf': linkl.c:254:1: warning: old-style function definition [-Wold-style-definition] 254 | deleteLeaf(list, leaf) | ^~~~~~~~~~ linkl.c: In function 'linkl_panic': linkl.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | linkl_panic(s) | ^~~~~~~~~~~ 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ get_image.c: In function 'Ones': get_image.c:41:21: warning: old-style function definition [-Wold-style-definition] 41 | static unsigned int Ones(mask) /* HACKMEM 169 */ | ^~~~ get_image.c: In function 'XMOVEGetImage': get_image.c:51:9: warning: old-style function definition [-Wold-style-definition] 51 | XImage *XMOVEGetImage (fd, seqno, server, d, x, y, width, height, plane_mask, format) | ^~~~~~~~~~~~~ get_image.c: In function 'XMOVEPreCreateImage': get_image.c:98:9: warning: old-style function definition [-Wold-style-definition] 98 | XImage *XMOVEPreCreateImage(image_format, visual, format, gc, plane_mask, | ^~~~~~~~~~~~~~~~~~~ get_image.c: In function 'XMOVECreateImage': get_image.c:135:9: warning: old-style function definition [-Wold-style-definition] 135 | XImage *XMOVECreateImage (image_format, visual, depth, format, offset, data, width, height, | ^~~~~~~~~~~~~~~~ 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # 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 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ XMOVELib.c: In function 'XMOVELoadFont': XMOVELib.c:354:1: warning: old-style function definition [-Wold-style-definition] 354 | XMOVELoadFont(fd, seqno, id, name) | ^~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEInternAtom': XMOVELib.c:385:1: warning: old-style function definition [-Wold-style-definition] 385 | XMOVEInternAtom(fd, seqno, name, onlyifexists) | ^~~~~~~~~~~~~~~ In file included from xmove.h:87, from XMOVELib.c:33: 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 'XMOVECreateGlyphCursor': XMOVELib.c:423:8: warning: old-style function definition [-Wold-style-definition] 423 | Cursor XMOVECreateGlyphCursor(fd, seqno, id, source_font, mask_font, | ^~~~~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVECreatePixmap': XMOVELib.c:457:1: warning: old-style function definition [-Wold-style-definition] 457 | XMOVECreatePixmap(fd, seqno, id, d, width, height, depth) | ^~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVESetSelectionOwner': XMOVELib.c:483:1: warning: old-style function definition [-Wold-style-definition] 483 | XMOVESetSelectionOwner(fd, seqno, selection, owner, time) | ^~~~~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEGetSelectionOwner': XMOVELib.c:506:1: warning: old-style function definition [-Wold-style-definition] 506 | XMOVEGetSelectionOwner(fd, seqno, selection) | ^~~~~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVECreateGC': XMOVELib.c:530:1: warning: old-style function definition [-Wold-style-definition] 530 | XMOVECreateGC(fd, seqno, id, d, valuemask, values) | ^~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVECreatePixmapCursor': XMOVELib.c:721:8: warning: old-style function definition [-Wold-style-definition] 721 | Cursor XMOVECreatePixmapCursor(fd, seqno, id, source, mask, foreground, | ^~~~~~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEFreeGC': XMOVELib.c:755:1: warning: old-style function definition [-Wold-style-definition] 755 | XMOVEFreeGC (fd, seqno, gc) | ^~~~~~~~~~~ XMOVELib.c: In function 'XMOVEFreePixmap': XMOVELib.c:772:1: warning: old-style function definition [-Wold-style-definition] 772 | XMOVEFreePixmap (fd, seqno, pixmap) | ^~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEMapWindow': XMOVELib.c:789:1: warning: old-style function definition [-Wold-style-definition] 789 | XMOVEMapWindow (fd, seqno, w) | ^~~~~~~~~~~~~~ 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:806:1: warning: old-style function definition [-Wold-style-definition] 806 | XMOVECreateWindow(fd, seqno, id, parent, x, y, width, height, border_width, | ^~~~~~~~~~~~~~~~~ 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 XMOVELib.c: In function 'XMOVEGrabButton': XMOVELib.c:955:1: warning: old-style function definition [-Wold-style-definition] 955 | XMOVEGrabButton(fd, seqno, button, modifiers, grab_window, owner_events, | ^~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEGrabKey': XMOVELib.c:989:1: warning: old-style function definition [-Wold-style-definition] 989 | XMOVEGrabKey(fd, seqno, key, modifiers, grab_window, owner_events, | ^~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEChangeProperty': XMOVELib.c:1017:1: warning: old-style function definition [-Wold-style-definition] 1017 | XMOVEChangeProperty(fd, seqno, w, property, type, format, mode, | ^~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEAllocColor': XMOVELib.c:1053:1: warning: old-style function definition [-Wold-style-definition] 1053 | XMOVEAllocColor(fd, seqno, cmap, def) | ^~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEAllocNamedColor': XMOVELib.c:1086:1: warning: old-style function definition [-Wold-style-definition] 1086 | XMOVEAllocNamedColor(fd, seqno, cmap, colorname, hard_def, exact_def) | ^~~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEStoreColor': XMOVELib.c:1128:1: warning: old-style function definition [-Wold-style-definition] 1128 | XMOVEStoreColor(fd, seqno, cmap, def) | ^~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEStoreNamedColor': XMOVELib.c:1156:1: warning: old-style function definition [-Wold-style-definition] 1156 | XMOVEStoreNamedColor(fd, seqno, cmap, name, pixel, flags) | ^~~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEQueryColor': XMOVELib.c:1184:1: warning: old-style function definition [-Wold-style-definition] 1184 | XMOVEQueryColor(fd, seqno, cmap, def) | ^~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEAllocColorCells': XMOVELib.c:1223:1: warning: old-style function definition [-Wold-style-definition] 1223 | XMOVEAllocColorCells(fd, seqno, cmap, contig, masks, nplanes, pixels, ncolors) | ^~~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVECreateColormap': XMOVELib.c:1270:1: warning: old-style function definition [-Wold-style-definition] 1270 | XMOVECreateColormap(fd, seqno, mid, w, visual, alloc) | ^~~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVELookupColor': XMOVELib.c:1297:1: warning: old-style function definition [-Wold-style-definition] 1297 | XMOVELookupColor(fd, seqno, cmap, spec, def, scr) | ^~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEGetAtomName': XMOVELib.c:1334:1: warning: old-style function definition [-Wold-style-definition] 1334 | XMOVEGetAtomName(fd, seqno, atom) | ^~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEGetProperty': XMOVELib.c:1369:1: warning: old-style function definition [-Wold-style-definition] 1369 | XMOVEGetProperty(fd, seqno, w, property, offset, length, delete, | ^~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEUnmapWindow': XMOVELib.c:1417:1: warning: old-style function definition [-Wold-style-definition] 1417 | XMOVEUnmapWindow(fd, seqno, w) | ^~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEGetInputFocus': XMOVELib.c:1440:1: warning: old-style function definition [-Wold-style-definition] 1440 | XMOVEGetInputFocus(fd, seqno) | ^~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEVerifyRequest': XMOVELib.c:1460:1: warning: old-style function definition [-Wold-style-definition] 1460 | XMOVEVerifyRequest(fd, seqno) | ^~~~~~~~~~~~~~~~~~ XMOVELib.c: In function 'XMOVEReceiveReplyOrError': XMOVELib.c:1485:1: warning: old-style function definition [-Wold-style-definition] 1485 | XMOVEReceiveReplyOrError(fd, seqno, error) | ^~~~~~~~~~~~~~~~~~~~~~~~ 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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # 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 'ChangeGrabPointerFromCurrentClient': xmove.c:537:1: warning: old-style function definition [-Wold-style-definition] 537 | ChangeGrabPointerFromCurrentClient(cursor, time, event_mask) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c: In function 'RemoveGrabButtonFromCurrentClient': xmove.c:559:1: warning: old-style function definition [-Wold-style-definition] 559 | RemoveGrabButtonFromCurrentClient(button, grab_window, modifiers) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmove.c: In function 'RemoveGrabKeyFromCurrentClient': xmove.c:583:1: warning: old-style function definition [-Wold-style-definition] 583 | RemoveGrabKeyFromCurrentClient(key, grab_window, modifiers) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.daCiUC (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.daCiUC (%build) I: [iurt_root_command] ERROR: chroot