Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/stalonetray.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672322531.894331/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8nk9m_dg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8nk9m_dg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '05811167ff664cd1bced18d45bed78e0', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672322531.894331/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8nk9m_dg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/stalonetray.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/stalonetray-0.8.3-17.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/stalonetray.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672322531.894331/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8nk9m_dg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8nk9m_dg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '32120348b216423fa42f841b5c33a05b', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672322531.894331/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8nk9m_dg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/stalonetray.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LrPraC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stalonetray-0.8.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/stalonetray-0.8.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd stalonetray-0.8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (stalonetray-0.8.3--Werror-format-security.patch):' Patch #0 (stalonetray-0.8.3--Werror-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .error-format --fuzz=0 patching file src/debug.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MOWKD3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd stalonetray-0.8.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2015-03-03 23:24:21.000000000 +0000 +++ ./configure 2022-12-29 14:04:54.684974378 +0000 @@ -1781,7 +1781,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for powerpc64le-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for XpmReadFileToPixmap in -lXpm... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands * * Debug : yes * Native KDE support : yes * XPM background support : no * Graceful exit support : yes * + make -j5 Making all in src make[1]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3/src' gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c main.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c icons.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c xembed.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c layout.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c embed.c In file included from common.h:12, from xembed.c:18: xembed.c: In function 'xembed_init': xembed.c:142:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 142 | LOG_TRACE(("created focus proxy, wid=0x%x\n", tray_data.xembed_data.focus_proxy)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:142:49: note: format string is defined here 142 | LOG_TRACE(("created focus proxy, wid=0x%x\n", tray_data.xembed_data.focus_proxy)); | ~^ | | | unsigned int | %lx xembed.c: In function 'xembed_handle_event': xembed.c:150:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 150 | LOG_TRACE(("FocusOut 0x%x\n", ev.xfocus.window)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:150:41: note: format string is defined here 150 | LOG_TRACE(("FocusOut 0x%x\n", ev.xfocus.window)); | ~^ | | | unsigned int | %lx xembed.c:189:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 189 | LOG_TRACE(("sent key event to 0x%x\n", tray_data.xembed_data.current->wid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:189:58: note: format string is defined here 189 | LOG_TRACE(("sent key event to 0x%x\n", tray_data.xembed_data.current->wid)); | ~^ | | | unsigned int | %lx xembed.c: In function 'xembed_switch_focus_to': xembed.c:273:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 273 | LOG_TRACE(("XEMBED focus was removed from icon 0x%x (pointer %p)\n", tray_data.xembed_data.current->wid, tray_data.xembed_data.current)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:273:67: note: format string is defined here 273 | LOG_TRACE(("XEMBED focus was removed from icon 0x%x (pointer %p)\n", tray_data.xembed_data.current->wid, tray_data.xembed_data.current)); | ~^ | | | unsigned int | %lx xembed.c:279:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 279 | LOG_TRACE(("XEMBED focus was set to icon 0x%x (pointer %p)\n", tgt->wid, tgt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:279:61: note: format string is defined here 279 | LOG_TRACE(("XEMBED focus was set to icon 0x%x (pointer %p)\n", tgt->wid, tgt)); | ~^ | | | unsigned int | %lx xembed.c: In function 'xembed_message': xembed.c:309:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); | ~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:309:60: note: format string is defined here 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ~^ | | | unsigned int | %lx xembed.c:309:20: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); | ~~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:309:75: note: format string is defined here 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ~^ | | | unsigned int | %lu xembed.c:309:20: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); | ~~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:309:87: note: format string is defined here 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ~^ | | | unsigned int | %lu xembed.c:309:20: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat=] 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); | ~~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:309:103: note: format string is defined here 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ~^ | | | unsigned int | %lx xembed.c:309:20: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long int' [-Wformat=] 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); | ~~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:309:117: note: format string is defined here 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ~^ | | | unsigned int | %lx xembed.c:309:20: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); | ~~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:309:131: note: format string is defined here 309 | LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", | ~^ | | | unsigned int | %lx xembed.c:313:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 313 | LOG_TRACE(("XEMBED focus is in window 0x%x (pointer %p)\n", tray_data.xembed_data.current->wid, tray_data.xembed_data.current)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:313:58: note: format string is defined here 313 | LOG_TRACE(("XEMBED focus is in window 0x%x (pointer %p)\n", tray_data.xembed_data.current->wid, tray_data.xembed_data.current)); | ~^ | | | unsigned int | %lx xembed.c:326:20: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] 326 | LOG_TRACE(("_XEMBED message %u\n", msgid)); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:326:38: note: format string is defined here 326 | LOG_TRACE(("_XEMBED message %u\n", msgid)); | ~^ | | | unsigned int | %lu xembed.c:367:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 367 | LOG_TRACE(("Unhandled _XEMBED message, id = %d\n", ev.data.l[1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:367:62: note: format string is defined here 367 | LOG_TRACE(("Unhandled _XEMBED message, id = %d\n", ev.data.l[1])); | ~^ | | | int | %ld xembed.c: In function 'xembed_add_accel': xembed.c:392:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] 392 | LOG_TRACE(("added new XEMBED accelerator: id=0x%x, sym=0x%x, mods=0x%x, overloaded=%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 393 | id, symb, mods, xaccel->overloaded)); | ~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:392:57: note: format string is defined here 392 | LOG_TRACE(("added new XEMBED accelerator: id=0x%x, sym=0x%x, mods=0x%x, overloaded=%d\n", | ~^ | | | unsigned int | %lx xembed.c:392:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] 392 | LOG_TRACE(("added new XEMBED accelerator: id=0x%x, sym=0x%x, mods=0x%x, overloaded=%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 393 | id, symb, mods, xaccel->overloaded)); | ~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:392:67: note: format string is defined here 392 | LOG_TRACE(("added new XEMBED accelerator: id=0x%x, sym=0x%x, mods=0x%x, overloaded=%d\n", | ~^ | | | unsigned int | %lx xembed.c:392:20: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] 392 | LOG_TRACE(("added new XEMBED accelerator: id=0x%x, sym=0x%x, mods=0x%x, overloaded=%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 393 | id, symb, mods, xaccel->overloaded)); | ~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:392:78: note: format string is defined here 392 | LOG_TRACE(("added new XEMBED accelerator: id=0x%x, sym=0x%x, mods=0x%x, overloaded=%d\n", | ~^ | | | unsigned int | %lx xembed.c: In function 'xembed_del_accel': xembed.c:413:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] 413 | LOG_TRACE(("removed XEMBED accelator id=0x%x", tgt->id)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:413:52: note: format string is defined here 413 | LOG_TRACE(("removed XEMBED accelator id=0x%x", tgt->id)); | ~^ | | | unsigned int | %lx xembed.c: In function 'xembed_act_accel': xembed.c:430:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] 430 | LOG_TRACE(("activating XEMBED accelerator: id=0x%x (symb=0x%x, mods=0x%x)\n", accel->id, accel->symb, accel->mods)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:430:58: note: format string is defined here 430 | LOG_TRACE(("activating XEMBED accelerator: id=0x%x (symb=0x%x, mods=0x%x)\n", accel->id, accel->symb, accel->mods)); | ~^ | | | unsigned int | %lx xembed.c:430:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] 430 | LOG_TRACE(("activating XEMBED accelerator: id=0x%x (symb=0x%x, mods=0x%x)\n", accel->id, accel->symb, accel->mods)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:430:69: note: format string is defined here 430 | LOG_TRACE(("activating XEMBED accelerator: id=0x%x (symb=0x%x, mods=0x%x)\n", accel->id, accel->symb, accel->mods)); | ~^ | | | unsigned int | %lx xembed.c:430:20: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] 430 | LOG_TRACE(("activating XEMBED accelerator: id=0x%x (symb=0x%x, mods=0x%x)\n", accel->id, accel->symb, accel->mods)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:430:80: note: format string is defined here 430 | LOG_TRACE(("activating XEMBED accelerator: id=0x%x (symb=0x%x, mods=0x%x)\n", accel->id, accel->symb, accel->mods)); | ~^ | | | unsigned int | %lx xembed.c: In function 'xembed_process_kbd_event': xembed.c:442:20: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'KeySym' {aka 'long unsigned int'} [-Wformat=] 442 | LOG_TRACE(("Key event (type=%d) with keycode=0x%x, symb=0x%x, state=0x%x\n", xkey.type, xkey.keycode, keysym, xkey.state)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | KeySym {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xembed.c:442:68: note: format string is defined here 442 | LOG_TRACE(("Key event (type=%d) with keycode=0x%x, symb=0x%x, state=0x%x\n", xkey.type, xkey.keycode, keysym, xkey.state)); | ~^ | | | unsigned int | %lx In file included from common.h:12, from main.c:33: main.c: In function 'dump_tray_status': main.c:138:27: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 138 | LOG_INFO(("XEMBED focus: 0x%x\n", tray_data.xembed_data.current->wid)); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:76:83: note: in definition of macro 'LOG_INFO' 76 | if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ | ^~~~~~~ main.c:138:45: note: format string is defined here 138 | LOG_INFO(("XEMBED focus: 0x%x\n", tray_data.xembed_data.current->wid)); | ~^ | | | unsigned int | %lx main.c: In function 'add_icon': main.c:156:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 156 | LOG_TRACE(("ignoring second request to embed 0x%x" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 157 | "(requested cmode=%d, current cmode=%d\n", 158 | w, cmode, ti->cmode)); | ~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:156:65: note: format string is defined here 156 | LOG_TRACE(("ignoring second request to embed 0x%x" | ~^ | | | unsigned int | %lx main.c:163:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 163 | LOG_TRACE(("starting embedding for icon 0x%x, cmode=%d\n", w, cmode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:163:52: note: format string is defined here 163 | LOG_TRACE(("starting embedding for icon 0x%x, cmode=%d\n", w, cmode)); | ~^ | | | unsigned int | %lx main.c:180:19: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 180 | LOG_INFO(("added icon %s (wid 0x%x) as %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | x11_get_window_name(tray_data.dpy, ti->wid, ""), 182 | ti->wid, | ~~~~~~~ | | | Window {aka long unsigned int} debug.h:76:83: note: in definition of macro 'LOG_INFO' 76 | if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ | ^~~~~~~ main.c:180:42: note: format string is defined here 180 | LOG_INFO(("added icon %s (wid 0x%x) as %s\n", | ~^ | | | unsigned int | %lx main.c:190:19: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 190 | LOG_INFO(("failed to add icon %s (wid 0x%x)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 191 | x11_get_window_name(tray_data.dpy, ti->wid, ""), 192 | ti->wid)); | ~~~~~~~ | | | Window {aka long unsigned int} debug.h:76:83: note: in definition of macro 'LOG_INFO' 76 | if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ | ^~~~~~~ main.c:190:50: note: format string is defined here 190 | LOG_INFO(("failed to add icon %s (wid 0x%x)\n", | ~^ | | | unsigned int | %lx main.c: In function 'remove_icon': main.c:210:19: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 210 | LOG_INFO(("removed icon %s (wid 0x%x)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | x11_get_window_name(tray_data.dpy, ti->wid, ""), 212 | w)); | ~ | | | Window {aka long unsigned int} debug.h:76:83: note: in definition of macro 'LOG_INFO' 76 | if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ | ^~~~~~~ main.c:210:44: note: format string is defined here 210 | LOG_INFO(("removed icon %s (wid 0x%x)\n", | ~^ | | | unsigned int | %lx main.c:202:15: warning: unused variable 'name' [-Wunused-variable] 202 | char *name; | ^~~~ main.c: In function 'icon_track_visibility_changes': main.c:230:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 230 | LOG_TRACE(("xembed_is_mapped(0x%x) = %u\n", w, mapped)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:230:41: note: format string is defined here 230 | LOG_TRACE(("xembed_is_mapped(0x%x) = %u\n", w, mapped)); | ~^ | | | unsigned int | %lx main.c:238:19: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 238 | LOG_INFO(("%s icon 0x%x\n", mapped ? "showing" : "hiding", w)); | ^~~~~~~~~~~~~~~~ ~ | | | Window {aka long unsigned int} debug.h:76:83: note: in definition of macro 'LOG_INFO' 76 | if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ | ^~~~~~~ main.c:238:31: note: format string is defined here 238 | LOG_INFO(("%s icon 0x%x\n", mapped ? "showing" : "hiding", w)); | ~^ | | | unsigned int | %lx main.c: In function 'kde_icons_update': main.c:278:36: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 278 | LOG_TRACE(("found (possibly unembedded) KDE icon %s (wid 0x%x)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | x11_get_window_name(tray_data.dpy, kde_tray_icons[i], ""), 280 | kde_tray_icons[i])); | ~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:278:85: note: format string is defined here 278 | LOG_TRACE(("found (possibly unembedded) KDE icon %s (wid 0x%x)\n", | ~^ | | | unsigned int | %lx main.c: In function 'perform_periodic_tasks': main.c:296:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 296 | LOG_TRACE(("icon 0x%x is invalid; removing\n", ti->wid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:296:37: note: format string is defined here 296 | LOG_TRACE(("icon 0x%x is invalid; removing\n", ti->wid)); | ~^ | | | unsigned int | %lx main.c: In function 'reparent_notify': main.c:401:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 401 | LOG_TRACE(("will now unembed 0x%x\n", ti->wid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:401:49: note: format string is defined here 401 | LOG_TRACE(("will now unembed 0x%x\n", ti->wid)); | ~^ | | | unsigned int | %lx main.c: In function 'client_message': main.c:456:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] 456 | LOG_TRACE(("dockin' requested by window 0x%x, serving in a moment\n", ev.data.l[2])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:456:76: note: format string is defined here 456 | LOG_TRACE(("dockin' requested by window 0x%x, serving in a moment\n", ev.data.l[2])); | ~^ | | | unsigned int | %lx main.c:475:52: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 475 | LOG_TRACE(("embedding confirmed for icon 0x%x\n", ti->wid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:475:85: note: format string is defined here 475 | LOG_TRACE(("embedding confirmed for icon 0x%x\n", ti->wid)); | ~^ | | | unsigned int | %lx main.c:537:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] 537 | LOG_TRACE(("ignoring _NET_SYSTEM_TRAY_OPCODE(%lu) message because tray is not active\n", tray_data.is_active)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:537:64: note: format string is defined here 537 | LOG_TRACE(("ignoring _NET_SYSTEM_TRAY_OPCODE(%lu) message because tray is not active\n", tray_data.is_active)); | ~~^ | | | long unsigned int | %u main.c: In function 'configure_notify': main.c:598:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 598 | LOG_TRACE(("icon 0x%x was resized, new size: %ux%u, old size: %ux%u\n", ev.window, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:598:37: note: format string is defined here 598 | LOG_TRACE(("icon 0x%x was resized, new size: %ux%u, old size: %ux%u\n", ev.window, | ~^ | | | unsigned int | %lx main.c: In function 'selection_clear': main.c:631:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 631 | LOG_TRACE(("new selection owner is 0x%x\n", tray_data.old_selection_owner)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:631:63: note: format string is defined here 631 | LOG_TRACE(("new selection owner is 0x%x\n", tray_data.old_selection_owner)); | ~^ | | | unsigned int | %lx main.c: In function 'map_notify': main.c:654:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 654 | LOG_TRACE(("Legacy scheme for KDE icons: detected KDE icon 0x%x. Adding.\n", w)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:654:95: note: format string is defined here 654 | LOG_TRACE(("Legacy scheme for KDE icons: detected KDE icon 0x%x. Adding.\n", w)); | ~^ | | | unsigned int | %lx main.c: In function 'unmap_notify': main.c:674:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 674 | LOG_TRACE(("Unmap icons KLUDGE executed for 0x%x\n", ti->wid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:674:64: note: format string is defined here 674 | LOG_TRACE(("Unmap icons KLUDGE executed for 0x%x\n", ti->wid)); | ~^ | | | unsigned int | %lx main.c: In function 'tray_main': main.c:717:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 717 | LOG_TRACE(("VisibilityNotify (0x%x, state=%d)\n", ev.xvisibility.window, ev.xvisibility.state)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:717:66: note: format string is defined here 717 | LOG_TRACE(("VisibilityNotify (0x%x, state=%d)\n", ev.xvisibility.window, ev.xvisibility.state)); | ~^ | | | unsigned int | %lx main.c:721:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 721 | LOG_TRACE(("Expose (0x%x)\n", ev.xexpose.window)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:721:56: note: format string is defined here 721 | LOG_TRACE(("Expose (0x%x)\n", ev.xexpose.window)); | ~^ | | | unsigned int | %lx main.c:725:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 725 | LOG_TRACE(("PropertyNotify(0x%x)\n", ev.xproperty.window)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:725:63: note: format string is defined here 725 | LOG_TRACE(("PropertyNotify(0x%x)\n", ev.xproperty.window)); | ~^ | | | unsigned int | %lx main.c:729:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 729 | LOG_TRACE(("DestroyNotify(0x%x)\n", ev.xdestroywindow.window)); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:729:62: note: format string is defined here 729 | LOG_TRACE(("DestroyNotify(0x%x)\n", ev.xdestroywindow.window)); | ~^ | | | unsigned int | %lx main.c:733:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 733 | LOG_TRACE(("ClientMessage(from 0x%x?)\n", ev.xclient.window)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:733:67: note: format string is defined here 733 | LOG_TRACE(("ClientMessage(from 0x%x?)\n", ev.xclient.window)); | ~^ | | | unsigned int | %lx main.c:737:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 737 | LOG_TRACE(("ConfigureNotify(0x%x)\n", ev.xconfigure.window)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:737:64: note: format string is defined here 737 | LOG_TRACE(("ConfigureNotify(0x%x)\n", ev.xconfigure.window)); | ~^ | | | unsigned int | %lx In file included from common.h:12, from embed.c:23: embed.c: In function 'embedder_embed': main.c:741:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 741 | LOG_TRACE(("MapNotify(0x%x)\n", ev.xmap.window)); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ embed.c:80:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 80 | LOG_TRACE(("position of icon 0x%x inside the tray: (%d, %d)\n", ti->wid, x, y)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ embed.c:80:41: note: format string is defined here 80 | LOG_TRACE(("position of icon 0x%x inside the tray: (%d, %d)\n", ti->wid, x, y)); | ~^ | | | unsigned int | %lx embed.c:94:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 94 | LOG_TRACE(("created mid-parent window 0x%x\n", ti->mid_parent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ embed.c:94:50: note: format string is defined here 94 | LOG_TRACE(("created mid-parent window 0x%x\n", ti->mid_parent)); | ~^ | | | unsigned int | %lx main.c:741:58: note: format string is defined here 741 | LOG_TRACE(("MapNotify(0x%x)\n", ev.xmap.window)); | ~^ | | | unsigned int | %lx embed.c: In function 'embedder_unembed': embed.c:145:59: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] 145 | if (!x11_ok()) LOG_ERROR(("failed to move icon 0x%x out of the tray\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:69:82: note: in definition of macro 'LOG_ERROR' 69 | if (settings.log_level >= LOG_LEVEL_ERR) print_message_to_stderr message; \ | ^~~~~~~ embed.c:145:83: note: format string is defined here 145 | if (!x11_ok()) LOG_ERROR(("failed to move icon 0x%x out of the tray\n")); | ~^ | | | unsigned int main.c:745:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 745 | LOG_TRACE(("ReparentNotify(0x%x to 0x%x)\n", ev.xreparent.window, ev.xreparent.parent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ embed.c:150:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 150 | if (!x11_ok()) LOG_ERROR(("failed to destroy icon mid-parent 0x%x\n", ti->mid_parent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:69:82: note: in definition of macro 'LOG_ERROR' 69 | if (settings.log_level >= LOG_LEVEL_ERR) print_message_to_stderr message; \ | ^~~~~~~ embed.c:150:97: note: format string is defined here 150 | if (!x11_ok()) LOG_ERROR(("failed to destroy icon mid-parent 0x%x\n", ti->mid_parent)); | ~^ | | | unsigned int | %lx embed.c:157:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 157 | LOG_TRACE(("done unembedding 0x%x\n", ti->wid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ embed.c:157:41: note: format string is defined here 157 | LOG_TRACE(("done unembedding 0x%x\n", ti->wid)); | ~^ | | | unsigned int | %lx main.c:745:63: note: format string is defined here 745 | LOG_TRACE(("ReparentNotify(0x%x to 0x%x)\n", ev.xreparent.window, ev.xreparent.parent)); | ~^ | | | unsigned int | %lx embed.c: In function 'embedder_update_window_position': main.c:745:44: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 745 | LOG_TRACE(("ReparentNotify(0x%x to 0x%x)\n", ev.xreparent.window, ev.xreparent.parent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ embed.c:219:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 219 | LOG_TRACE(("Updating position of icon 0x%x\n", ti->wid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ embed.c:219:50: note: format string is defined here 219 | LOG_TRACE(("Updating position of icon 0x%x\n", ti->wid)); | ~^ | | | unsigned int | %lx embed.c:234:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 234 | LOG_TRACE(("failed to update position of icon 0x%x\n", ti->wid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:745:71: note: format string is defined here 745 | LOG_TRACE(("ReparentNotify(0x%x to 0x%x)\n", ev.xreparent.window, ev.xreparent.parent)); | ~^ | | | unsigned int | %lx embed.c:234:66: note: format string is defined here 234 | LOG_TRACE(("failed to update position of icon 0x%x\n", ti->wid)); | ~^ | | | unsigned int | %lx embed.c: In function 'embedder_refresh': embed.c:255:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 255 | LOG_TRACE(("could not refresh 0x%x\n", ti->wid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ embed.c:255:50: note: format string is defined here 255 | LOG_TRACE(("could not refresh 0x%x\n", ti->wid)); | ~^ | | | unsigned int | %lx main.c:749:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 749 | LOG_TRACE(("SelectionClear (0x%x has lost selection)\n", ev.xselectionclear.window)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ embed.c: In function 'embedder_reset_size': embed.c:269:55: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 269 | if (ti->is_size_set && ti->cmode != CM_KDE && !settings.kludge_flags & KLUDGE_FORCE_ICONS_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~ main.c:749:64: note: format string is defined here 749 | LOG_TRACE(("SelectionClear (0x%x has lost selection)\n", ev.xselectionclear.window)); | ~^ | | | unsigned int | %lx main.c:756:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 756 | LOG_TRACE(("SelectionRequest (from 0x%x to 0x%x)\n", ev.xselectionrequest.requestor, ev.xselectionrequest.owner)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:756:71: note: format string is defined here 756 | LOG_TRACE(("SelectionRequest (from 0x%x to 0x%x)\n", ev.xselectionrequest.requestor, ev.xselectionrequest.owner)); | ~^ | | | unsigned int | %lx main.c:756:44: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 756 | LOG_TRACE(("SelectionRequest (from 0x%x to 0x%x)\n", ev.xselectionrequest.requestor, ev.xselectionrequest.owner)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:756:79: note: format string is defined here 756 | LOG_TRACE(("SelectionRequest (from 0x%x to 0x%x)\n", ev.xselectionrequest.requestor, ev.xselectionrequest.owner)); | ~^ | | | unsigned int | %lx main.c:759:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 759 | LOG_TRACE(("UnmapNotify(0x%x)\n", ev.xunmap.window)); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:759:60: note: format string is defined here 759 | LOG_TRACE(("UnmapNotify(0x%x)\n", ev.xunmap.window)); | ~^ | | | unsigned int | %lx main.c:764:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 764 | LOG_TRACE(("Unhandled event: %s, serial: %d, window: 0x%x\n", x11_event_names[ev.type], ev.xany.serial, ev.xany.window)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | long unsigned int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:764:75: note: format string is defined here 764 | LOG_TRACE(("Unhandled event: %s, serial: %d, window: 0x%x\n", x11_event_names[ev.type], ev.xany.serial, ev.xany.window)); | ~^ | | | int | %ld main.c:764:44: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 764 | LOG_TRACE(("Unhandled event: %s, serial: %d, window: 0x%x\n", x11_event_names[ev.type], ev.xany.serial, ev.xany.window)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:764:89: note: format string is defined here 764 | LOG_TRACE(("Unhandled event: %s, serial: %d, window: 0x%x\n", x11_event_names[ev.type], ev.xany.serial, ev.xany.window)); | ~^ | | | unsigned int | %lx main.c: In function 'remote_main': main.c:818:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 818 | LOG_TRACE(("wid=0x%x w=%d h=%d\n", icon, w, h)); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:818:28: note: format string is defined here 818 | LOG_TRACE(("wid=0x%x w=%d h=%d\n", icon, w, h)); | ~^ | | | unsigned int | %lx main.c:824:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 824 | LOG_TRACE(("wid=0x%x btn=%d x=%d y=%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 825 | win, settings.remote_click_btn, x, y)); | ~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ main.c:824:28: note: format string is defined here 824 | LOG_TRACE(("wid=0x%x btn=%d x=%d y=%d\n", | ~^ | | | unsigned int | %lx gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c settings.c settings.c: In function 'interpret_settings': settings.c:784:13: warning: unused variable 'rc' [-Wunused-variable] 784 | int rc; | ^~ gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c xutils.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c tray.c In file included from common.h:12, from xutils.h:15, from xutils.c:19: xutils.c: In function 'x11_error_handler': xutils.c:49:20: warning: too many arguments for format [-Wformat-extra-args] 49 | LOG_ERROR(("X11 error: %s (request: %s, resource 0x%x)\n", msg, req_str, err->request_code, err->minor_code, err->resourceid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:69:82: note: in definition of macro 'LOG_ERROR' 69 | if (settings.log_level >= LOG_LEVEL_ERR) print_message_to_stderr message; \ | ^~~~~~~ xutils.c: In function 'x11_find_subwindow_at': xutils.c:338:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 338 | LOG_TRACE(("cur=0x%x nchildren=%d\n", cur, nchildren)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ xutils.c:338:36: note: format string is defined here 338 | LOG_TRACE(("cur=0x%x nchildren=%d\n", cur, nchildren)); | ~^ | | | unsigned int | %lx xutils.c: In function 'x11_dump_win_info': xutils.c:426:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 426 | system(cmd); | ^~~~~~~~~~~ xutils.c:428:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 428 | system(cmd); | ^~~~~~~~~~~ In file included from common.h:12, from tray.c:22: tray.c: In function 'tray_update_window_strut': tray.c:379:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 379 | LOG_TRACE(("computed hints [%d] = %d\n", i, wm_strut[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | long unsigned int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ tray.c:379:76: note: format string is defined here 379 | LOG_TRACE(("computed hints [%d] = %d\n", i, wm_strut[i])); | ~^ | | | int | %ld tray.c: In function 'tray_create_window': tray.c:513:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 513 | LOG_TRACE(("created tray window: 0x%x\n", tray_data.tray)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ tray.c:513:45: note: format string is defined here 513 | LOG_TRACE(("created tray window: 0x%x\n", tray_data.tray)); | ~^ | | | unsigned int | %lx tray.c:523:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 523 | LOG_TRACE(("created hint_win window: 0x%x\n", tray_data.hint_win)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ tray.c:523:57: note: format string is defined here 523 | LOG_TRACE(("created hint_win window: 0x%x\n", tray_data.hint_win)); | ~^ | | | unsigned int | %lx tray.c: In function 'tray_acquire_selection': tray.c:663:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 663 | LOG_TRACE(("old selection owner: 0x%x\n", tray_data.old_selection_owner)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ tray.c:663:45: note: format string is defined here 663 | LOG_TRACE(("old selection owner: 0x%x\n", tray_data.old_selection_owner)); | ~^ | | | unsigned int | %lx gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c wmh.c In file included from common.h:12, from wmh.c:12: wmh.c: In function 'ewmh_wm_present': wmh.c:44:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 44 | LOG_TRACE(("_NET_SUPPORTING_WM_CHECK (root) = 0x%x\n", check_win[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ wmh.c:44:66: note: format string is defined here 44 | LOG_TRACE(("_NET_SUPPORTING_WM_CHECK (root) = 0x%x\n", check_win[0])); | ~^ | | | unsigned int | %lx wmh.c:52:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 52 | LOG_TRACE(("_NET_SUPPORTING_WM_CHECK (self reference) = 0x%x\n", check_win[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ wmh.c:52:76: note: format string is defined here 52 | LOG_TRACE(("_NET_SUPPORTING_WM_CHECK (self reference) = 0x%x\n", check_win[0])); | ~^ | | | unsigned int | %lx wmh.c: In function 'ewmh_add_window_state': wmh.c:69:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] 69 | LOG_TRACE(("adding state %s to window 0x%x\n", state, atom)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | Atom {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ wmh.c:69:50: note: format string is defined here 69 | LOG_TRACE(("adding state %s to window 0x%x\n", state, atom)); | ~^ | | | unsigned int | %lx wmh.c: In function 'ewmh_add_window_type': wmh.c:93:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] 93 | LOG_TRACE(("adding type %s to window 0x%x\n", type, atom)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | Atom {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ wmh.c:93:49: note: format string is defined here 93 | LOG_TRACE(("adding type %s to window 0x%x\n", type, atom)); | ~^ | | | unsigned int | %lx wmh.c: In function 'ewmh_set_window_atom32': wmh.c:120:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 120 | LOG_TRACE(("0x%x: setting atom %s to 0x%x\n", wnd, prop_name, value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ wmh.c:120:24: note: format string is defined here 120 | LOG_TRACE(("0x%x: setting atom %s to 0x%x\n", wnd, prop_name, value)); | ~^ | | | unsigned int | %lx wmh.c: In function 'mwm_set_hints': wmh.c:140:22: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 140 | int act_fmt, rc; | ^~ wmh.c: In function 'ewmh_list_supported_atoms': wmh.c:193:52: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 193 | LOG_TRACE(("_NET_SUPPORTED[%d]: %s (0x%x)\n", i, atom_name, atom_list[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | long unsigned int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ wmh.c:193:69: note: format string is defined here 193 | LOG_TRACE(("_NET_SUPPORTED[%d]: %s (0x%x)\n", i, atom_name, atom_list[i])); | ~^ | | | int | %ld wmh.c:193:52: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] 193 | LOG_TRACE(("_NET_SUPPORTED[%d]: %s (0x%x)\n", i, atom_name, atom_list[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | Atom {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ wmh.c:193:80: note: format string is defined here 193 | LOG_TRACE(("_NET_SUPPORTED[%d]: %s (0x%x)\n", i, atom_name, atom_list[i])); | ~^ | | | unsigned int | %lx wmh.c:195:52: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 195 | LOG_TRACE(("_NET_SUPPORTED[%d]: bogus value (0x%x)\n", i, atom_list[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | long unsigned int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ wmh.c:195:69: note: format string is defined here 195 | LOG_TRACE(("_NET_SUPPORTED[%d]: bogus value (0x%x)\n", i, atom_list[i])); | ~^ | | | int | %ld wmh.c:195:52: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Atom' {aka 'long unsigned int'} [-Wformat=] 195 | LOG_TRACE(("_NET_SUPPORTED[%d]: bogus value (0x%x)\n", i, atom_list[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ | | | Atom {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ wmh.c:195:89: note: format string is defined here 195 | LOG_TRACE(("_NET_SUPPORTED[%d]: bogus value (0x%x)\n", i, atom_list[i])); | ~^ | | | unsigned int | %lx wmh.c: In function 'ewmh_dump_window_states': wmh.c:221:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 221 | LOG_TRACE(("0x%x:_NET_WM_STATE[%d] = %s\n", wnd, j, tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ wmh.c:221:48: note: format string is defined here 221 | LOG_TRACE(("0x%x:_NET_WM_STATE[%d] = %s\n", wnd, j, tmp)); | ~^ | | | unsigned int | %lx gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c debug.c debug.c: In function 'print_trace_header': debug.c:48:22: warning: unused variable 'pid' [-Wunused-variable] 48 | static pid_t pid = 0; | ^~~ In file included from debug.c:10: debug.c: In function 'print_icon_data': debug.c:85:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 85 | LOG_INFO (("wid = 0x%x\n", ti->wid)); | ^~~~~~~~~~~~~~ ~~~~~~~ | | | Window {aka long unsigned int} debug.h:76:83: note: in definition of macro 'LOG_INFO' 76 | if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ | ^~~~~~~ debug.c:85:30: note: format string is defined here 85 | LOG_INFO (("wid = 0x%x\n", ti->wid)); | ~^ | | | unsigned int | %lx debug.c:105:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 105 | LOG_TRACE((" xembed_last_timestamp = %d\n", ti->xembed_last_timestamp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ debug.c:105:56: note: format string is defined here 105 | LOG_TRACE((" xembed_last_timestamp = %d\n", ti->xembed_last_timestamp)); | ~^ | | | int | %ld debug.c:106:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 106 | LOG_TRACE((" xembed_last_msgid = %d\n", ti->xembed_last_msgid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ | | | long int debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ debug.c:106:52: note: format string is defined here 106 | LOG_TRACE((" xembed_last_msgid = %d\n", ti->xembed_last_msgid)); | ~^ | | | int | %ld debug.c:111:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 111 | LOG_TRACE((" mid-parent = 0x%x\n", ti->mid_parent)); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ debug.c:111:47: note: format string is defined here 111 | LOG_TRACE((" mid-parent = 0x%x\n", ti->mid_parent)); | ~^ | | | unsigned int | %lx debug.c:115:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 115 | LOG_TRACE((" mid-parent wid = 0x%x\n", ti->mid_parent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ debug.c:115:59: note: format string is defined here 115 | LOG_TRACE((" mid-parent wid = 0x%x\n", ti->mid_parent)); | ~^ | | | unsigned int | %lx debug.c:129:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 129 | LOG_TRACE((" parent wid from XQueryTree() = 0x%x\n", real_parent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ debug.c:129:73: note: format string is defined here 129 | LOG_TRACE((" parent wid from XQueryTree() = 0x%x\n", real_parent)); | ~^ | | | unsigned int | %lx debug.c: At top level: debug.c:48:22: warning: 'pid' defined but not used [-Wunused-variable] 48 | static pid_t pid = 0; | ^~~ gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c image.c image.c: In function 'image_tint_16': image.c:178:24: warning: variable 'tb' set but not used [-Wunused-but-set-variable] 178 | CARD32 tr, tg, tb; | ^~ image.c: In function 'image_tint_15': image.c:201:24: warning: variable 'tb' set but not used [-Wunused-but-set-variable] 201 | CARD32 tr, tg, tb; | ^~ gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c scrollbars.c In file included from common.h:12, from xutils.h:15, from scrollbars.c:16: scrollbars.c: In function 'scrollbars_handle_event': scrollbars.c:232:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'char *' [-Wformat=] 232 | LOG_TRACE(("EnterNotify, wid=0x%x x=%d y=%d\n", ev.type == EnterNotify ? "EnterNotify" : "LeaveNotify", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ scrollbars.c:232:49: note: format string is defined here 232 | LOG_TRACE(("EnterNotify, wid=0x%x x=%d y=%d\n", ev.type == EnterNotify ? "EnterNotify" : "LeaveNotify", | ~^ | | | unsigned int | %s scrollbars.c:232:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 232 | LOG_TRACE(("EnterNotify, wid=0x%x x=%d y=%d\n", ev.type == EnterNotify ? "EnterNotify" : "LeaveNotify", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | ev.xcrossing.window, ev.xcrossing.x, ev.xcrossing.y)); | ~~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ scrollbars.c:232:54: note: format string is defined here 232 | LOG_TRACE(("EnterNotify, wid=0x%x x=%d y=%d\n", ev.type == EnterNotify ? "EnterNotify" : "LeaveNotify", | ~^ | | | int | %ld scrollbars.c:232:28: warning: too many arguments for format [-Wformat-extra-args] 232 | LOG_TRACE(("EnterNotify, wid=0x%x x=%d y=%d\n", ev.type == EnterNotify ? "EnterNotify" : "LeaveNotify", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ scrollbars.c: In function 'scrollbars_highlight_on': scrollbars.c:329:1: warning: control reaches end of non-void function [-Wreturn-type] 329 | } | ^ gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c kde_tray.c scrollbars.c: In function 'scrollbars_highlight_off': scrollbars.c:337:1: warning: control reaches end of non-void function [-Wreturn-type] 337 | } | ^ In file included from kde_tray.c:13: kde_tray.c: In function 'kde_tray_init': kde_tray.c:84:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 84 | LOG_TRACE(("0x%x is marked as an old KDE icon\n", old_kde_icons[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ kde_tray.c:84:40: note: format string is defined here 84 | LOG_TRACE(("0x%x is marked as an old KDE icon\n", old_kde_icons[i])); | ~^ | | | unsigned int | %lx kde_tray.c: In function 'kde_tray_old_icons_remove': kde_tray.c:117:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 117 | LOG_TRACE(("0x%x unmarked as an old kde icon\n", w)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | Window {aka long unsigned int} debug.h:58:41: note: in definition of macro 'LOG_TRACE' 58 | print_message_to_stderr message; \ | ^~~~~~~ kde_tray.c:117:40: note: format string is defined here 117 | LOG_TRACE(("0x%x unmarked as an old kde icon\n", w)); | ~^ | | | unsigned int | %lx gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o stalonetray main.o icons.o xembed.o layout.o embed.o settings.o xutils.o tray.o wmh.o debug.o image.o scrollbars.o kde_tray.o -lX11 make[2]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make[1]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make[1]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2Ab2ng + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd stalonetray-0.8.3 + make install DESTDIR=/builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make[2]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/bin' install -p stalonetray '/builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make[1]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make[1]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3' make[2]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/man/man1' install -p -m 644 stalonetray.1 '/builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3' make[1]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3' + install -D -m644 stalonetrayrc.sample /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/etc/stalonetrayrc + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 0.8.3-17.fc38 --unique-debug-suffix -0.8.3-17.fc38.ppc64le --unique-debug-src-base stalonetray-0.8.3-17.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/stalonetray-0.8.3 extracting debug info from /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/bin/stalonetray original debug info size: 384kB, size after compression: 320kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 431 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: stalonetray-0.8.3-17.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.c9oUD3 + umask 022 + cd /builddir/build/BUILD + cd stalonetray-0.8.3 + DOCDIR=/builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + cp -pr AUTHORS /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + cp -pr ChangeLog /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + cp -pr COPYING /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + cp -pr NEWS /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + cp -pr README /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + cp -pr TODO /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + cp -pr stalonetrayrc.sample /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + cp -pr stalonetray.html /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + cp -pr stalonetray.xml /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le/usr/share/doc/stalonetray + RPM_EC=0 ++ jobs -p + exit 0 Provides: stalonetray = 0.8.3-17.fc38 stalonetray(ppc-64) = 0.8.3-17.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: stalonetray-debugsource-0.8.3-17.fc38.ppc64le Provides: stalonetray-debugsource = 0.8.3-17.fc38 stalonetray-debugsource(ppc-64) = 0.8.3-17.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: stalonetray-debuginfo-0.8.3-17.fc38.ppc64le Provides: debuginfo(build-id) = db6011355968d1c1bc0b7c2e73b64bab565b420c stalonetray-debuginfo = 0.8.3-17.fc38 stalonetray-debuginfo(ppc-64) = 0.8.3-17.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: stalonetray-debugsource(ppc-64) = 0.8.3-17.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le Wrote: /builddir/build/RPMS/stalonetray-debugsource-0.8.3-17.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/stalonetray-debuginfo-0.8.3-17.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/stalonetray-0.8.3-17.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PnqYWf + umask 022 + cd /builddir/build/BUILD + cd stalonetray-0.8.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/stalonetray-0.8.3-17.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.nsNh3n + umask 022 + cd /builddir/build/BUILD + rm -rf stalonetray-0.8.3 stalonetray-0.8.3.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0