D: [iurt_root_command] chroot Building target platforms: armv7hl Building for target armv7hl Installing /home/iurt/rpmbuild/SRPMS/@2189870:xmove-2.0-0.beta2.15.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ccipBv Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.nw6c1x + umask 022 + cd /home/iurt/rpmbuild/BUILD/xmove-2.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/xmove-2.0-build + rm -rf xmove + /usr/lib/rpm/rpmuncompress -x /home/iurt/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/iurt/rpmbuild/tmp/rpm-tmp.ohPIVg + umask 022 + cd /home/iurt/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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + 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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + 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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard ' + 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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard ' + 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/lib: + 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 -j4 V=1 VERBOSE=1 '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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -std=gnu17' '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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' 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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include -Dlinux -D__arm__ -D__arm32__ -U__arm -Uarm -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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include -Dlinux -D__arm__ -D__arm32__ -U__arm -Uarm -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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include -Dlinux -D__arm__ -D__arm32__ -U__arm -Uarm -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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include -Dlinux -D__arm__ -D__arm32__ -U__arm -Uarm -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 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ohPIVg (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ohPIVg (%build) I: [iurt_root_command] ERROR: chroot