Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libmodule.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1675618572.061048/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3rk3g25:/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.y3rk3g25:/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', 'b93b2b7448e6466aacb591e7d6db4841', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1675618572.061048/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3rk3g25:/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 x86_64 --nodeps /builddir/build/SPECS/libmodule.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1675382400 Wrote: /builddir/build/SRPMS/libmodule-5.0.1-2.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libmodule.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1675618572.061048/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3rk3g25:/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.y3rk3g25:/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', 'f9ac7d8be1d5436db221c1f9e4998af8', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1675618572.061048/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3rk3g25:/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 x86_64 --nodeps /builddir/build/SPECS/libmodule.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1675382400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qsk79c + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libmodule-5.0.1 + /usr/lib/rpm/rpmuncompress -x -v /builddir/build/SOURCES/5.0.1.tar.gz /usr/bin/gzip -dc '/builddir/build/SOURCES/5.0.1.tar.gz' | /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/ drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/.builds/ -rw-rw-r-- root/root 448 2020-12-20 09:59 libmodule-5.0.1/.builds/archlinux.yml -rw-rw-r-- root/root 548 2020-12-20 09:59 libmodule-5.0.1/.builds/fedora.yml -rw-rw-r-- root/root 454 2020-12-20 09:59 libmodule-5.0.1/.builds/freebsd.yml -rw-rw-r-- root/root 520 2020-12-20 09:59 libmodule-5.0.1/.builds/ubuntu.yml -rw-rw-r-- root/root 527 2020-12-20 09:59 libmodule-5.0.1/.gitignore -rw-rw-r-- root/root 4615 2020-12-20 09:59 libmodule-5.0.1/CMakeLists.txt drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Extra/ drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Extra/Arch/ -rw-rw-r-- root/root 819 2020-12-20 09:59 libmodule-5.0.1/Extra/Arch/PKGBUILD -rw-rw-r-- root/root 304 2020-12-20 09:59 libmodule-5.0.1/Extra/libmodule.pc.in -rw-rw-r-- root/root 1075 2020-12-20 09:59 libmodule-5.0.1/LICENSE drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Lib/ -rw-rw-r-- root/root 11855 2020-12-20 09:59 libmodule-5.0.1/Lib/map.c -rw-rw-r-- root/root 14493 2020-12-20 09:59 libmodule-5.0.1/Lib/module.c -rw-rw-r-- root/root 8197 2020-12-20 09:59 libmodule-5.0.1/Lib/modules.c drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Lib/poll_plugins/ -rw-rw-r-- root/root 519 2020-12-20 09:59 libmodule-5.0.1/Lib/poll_plugins/README.md -rw-rw-r-- root/root 1635 2020-12-20 09:59 libmodule-5.0.1/Lib/poll_plugins/epoll_priv.c -rw-rw-r-- root/root 1673 2020-12-20 09:59 libmodule-5.0.1/Lib/poll_plugins/kqueue_priv.c -rw-rw-r-- root/root 633 2020-12-20 09:59 libmodule-5.0.1/Lib/poll_priv.h -rw-rw-r-- root/root 269 2020-12-20 09:59 libmodule-5.0.1/Lib/priv.c -rw-rw-r-- root/root 5471 2020-12-20 09:59 libmodule-5.0.1/Lib/priv.h drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Lib/public/ drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/ -rw-rw-r-- root/root 78 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/.gitignore -rw-rw-r-- root/root 142 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/README.md -rw-rw-r-- root/root 1463 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/map.h -rw-rw-r-- root/root 2739 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/module.h -rw-rw-r-- root/root 3138 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/module_cmn.h.in -rw-rw-r-- root/root 2867 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/module_easy.h -rw-rw-r-- root/root 642 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/modules.h -rw-rw-r-- root/root 718 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/modules_easy.h -rw-rw-r-- root/root 1325 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/queue.h -rw-rw-r-- root/root 1262 2020-12-20 09:59 libmodule-5.0.1/Lib/public/module/stack.h -rw-rw-r-- root/root 8940 2020-12-20 09:59 libmodule-5.0.1/Lib/pubsub.c -rw-rw-r-- root/root 3247 2020-12-20 09:59 libmodule-5.0.1/Lib/queue.c -rw-rw-r-- root/root 3055 2020-12-20 09:59 libmodule-5.0.1/Lib/stack.c -rw-rw-r-- root/root 5408 2020-12-20 09:59 libmodule-5.0.1/README.md drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Samples/ -rw-rw-r-- root/root 721 2020-12-20 09:59 libmodule-5.0.1/Samples/CMakeLists.txt drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Samples/Cpp/ -rw-rw-r-- root/root 1897 2020-12-20 09:59 libmodule-5.0.1/Samples/Cpp/doggo.cpp -rw-rw-r-- root/root 3548 2020-12-20 09:59 libmodule-5.0.1/Samples/Cpp/pippo.cpp drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Samples/Easy/ -rw-rw-r-- root/root 2673 2020-12-20 09:59 libmodule-5.0.1/Samples/Easy/doggo.c -rw-rw-r-- root/root 3769 2020-12-20 09:59 libmodule-5.0.1/Samples/Easy/pippo.c drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Samples/MultiCtx/ -rw-rw-r-- root/root 1968 2020-12-20 09:59 libmodule-5.0.1/Samples/MultiCtx/a.c -rw-rw-r-- root/root 1182 2020-12-20 09:59 libmodule-5.0.1/Samples/MultiCtx/b.c -rw-rw-r-- root/root 1544 2020-12-20 09:59 libmodule-5.0.1/Samples/MultiCtx/main.c drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Samples/Poll/ -rw-rw-r-- root/root 1754 2020-12-20 09:59 libmodule-5.0.1/Samples/Poll/doggo.c -rw-rw-r-- root/root 1497 2020-12-20 09:59 libmodule-5.0.1/Samples/Poll/main.c -rw-rw-r-- root/root 3748 2020-12-20 09:59 libmodule-5.0.1/Samples/Poll/pippo.c -rw-rw-r-- root/root 1615 2020-12-20 09:59 libmodule-5.0.1/Samples/README.md drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/Samples/SharedSrc/ -rw-rw-r-- root/root 867 2020-12-20 09:59 libmodule-5.0.1/Samples/SharedSrc/main.c -rw-rw-r-- root/root 5950 2020-12-20 09:59 libmodule-5.0.1/Samples/SharedSrc/mod.c -rw-rw-r-- root/root 1552 2020-12-20 09:59 libmodule-5.0.1/Samples/testModule.c -rw-rw-r-- root/root 650 2020-12-20 09:59 libmodule-5.0.1/TODO.md drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/cmake/ -rw-rw-r-- root/root 1752 2020-12-20 09:59 libmodule-5.0.1/cmake/FindCmocka.cmake -rw-rw-r-- root/root 425 2020-12-20 09:59 libmodule-5.0.1/cmake/FindKqueue.cmake -rw-rw-r-- root/root 899 2020-12-20 09:59 libmodule-5.0.1/cmake/FindSphinx.cmake -rw-rw-r-- root/root 705 2020-12-20 09:59 libmodule-5.0.1/cmake/FindValgrind.cmake drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/docs/ -rw-rw-r-- root/root 803 2020-12-20 09:59 libmodule-5.0.1/docs/CMakeLists.txt -rw-rw-r-- root/root 606 2020-12-20 09:59 libmodule-5.0.1/docs/Makefile -rw-rw-r-- root/root 4725 2020-12-20 09:59 libmodule-5.0.1/docs/conf.py -rw-rw-r-- root/root 609 2020-12-20 09:59 libmodule-5.0.1/docs/index.rst drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/docs/src/ -rw-rw-r-- root/root 2257 2020-12-20 09:59 libmodule-5.0.1/docs/src/callbacks.rst -rw-rw-r-- root/root 2540 2020-12-20 09:59 libmodule-5.0.1/docs/src/concepts.rst -rw-rw-r-- root/root 2616 2020-12-20 09:59 libmodule-5.0.1/docs/src/data_structures.rst -rw-rw-r-- root/root 4599 2020-12-20 09:59 libmodule-5.0.1/docs/src/lifecycle.rst -rw-rw-r-- root/root 4609 2020-12-20 09:59 libmodule-5.0.1/docs/src/map.rst -rw-rw-r-- root/root 766 2020-12-20 09:59 libmodule-5.0.1/docs/src/memory.rst -rw-rw-r-- root/root 16652 2020-12-20 09:59 libmodule-5.0.1/docs/src/module.rst -rw-rw-r-- root/root 6266 2020-12-20 09:59 libmodule-5.0.1/docs/src/modules.rst -rw-rw-r-- root/root 3113 2020-12-20 09:59 libmodule-5.0.1/docs/src/pubsub.rst -rw-rw-r-- root/root 3593 2020-12-20 09:59 libmodule-5.0.1/docs/src/queue.rst -rw-rw-r-- root/root 3665 2020-12-20 09:59 libmodule-5.0.1/docs/src/stack.rst drwxrwxr-x root/root 0 2020-12-20 09:59 libmodule-5.0.1/tests/ -rw-rw-r-- root/root 789 2020-12-20 09:59 libmodule-5.0.1/tests/CMakeLists.txt -rw-rw-r-- root/root 454 2020-12-20 09:59 libmodule-5.0.1/tests/README.md -rw-rw-r-- root/root 6624 2020-12-20 09:59 libmodule-5.0.1/tests/main.c -rw-rw-r-- root/root 117 2020-12-20 09:59 libmodule-5.0.1/tests/test_commons.h -rw-rw-r-- root/root 4245 2020-12-20 09:59 libmodule-5.0.1/tests/test_map.c -rw-rw-r-- root/root 345 2020-12-20 09:59 libmodule-5.0.1/tests/test_map.h -rw-rw-r-- root/root 12881 2020-12-20 09:59 libmodule-5.0.1/tests/test_module.c -rw-rw-r-- root/root 2622 2020-12-20 09:59 libmodule-5.0.1/tests/test_module.h -rw-rw-r-- root/root 2878 2020-12-20 09:59 libmodule-5.0.1/tests/test_modules.c -rw-rw-r-- root/root 654 2020-12-20 09:59 libmodule-5.0.1/tests/test_modules.h -rw-rw-r-- root/root 2493 2020-12-20 09:59 libmodule-5.0.1/tests/test_queue.c -rw-rw-r-- root/root 255 2020-12-20 09:59 libmodule-5.0.1/tests/test_queue.h -rw-rw-r-- root/root 2489 2020-12-20 09:59 libmodule-5.0.1/tests/test_stack.c -rw-rw-r-- root/root 249 2020-12-20 09:59 libmodule-5.0.1/tests/test_stack.h + STATUS=0 + '[' 0 -ne 0 ']' + cd libmodule-5.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iSAt8A + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 libmodule-5.0.1 + mkdir -p build + cd build + cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_BUILD_TYPE=Release .. -- The C compiler identification is GNU 13.0.1 -- The CXX compiler identification is GNU 13.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building libmodule-5.0.1 -- Build type: Release -- Library Type: SHARED -- Target OS: Linux -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/libmodule-5.0.1/build + make [ 11%] Building C object CMakeFiles/libmodule.dir/Lib/map.c.o In file included from /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_priv.h:3, from /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:6: /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'hashmap_rehash': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:119:5: note: in expansion of macro 'MOD_RET_ASSERT' 119 | MOD_RET_ASSERT(new_table, MAP_OMEM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'hashmap_put': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:153:5: note: in expansion of macro 'MOD_RET_ASSERT' 153 | MOD_RET_ASSERT(key, MAP_OMEM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_itr_new': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:254:5: note: in expansion of macro 'MOD_RET_ASSERT' 254 | MOD_RET_ASSERT(map_length(m) > 0, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_itr_next': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:265:5: note: in expansion of macro 'MOD_RET_ASSERT' 265 | MOD_RET_ASSERT(itr, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_itr_remove': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:8:37: note: in expansion of macro 'MOD_RET_ASSERT' 8 | #define MAP_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MAP_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:293:5: note: in expansion of macro 'MAP_PARAM_ASSERT' 293 | MAP_PARAM_ASSERT(itr); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_itr_get_key': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:304:5: note: in expansion of macro 'MOD_RET_ASSERT' 304 | MOD_RET_ASSERT(itr, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_itr_get_data': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:313:5: note: in expansion of macro 'MOD_RET_ASSERT' 313 | MOD_RET_ASSERT(itr, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_itr_set_data': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:8:37: note: in expansion of macro 'MOD_RET_ASSERT' 8 | #define MAP_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MAP_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:322:5: note: in expansion of macro 'MAP_PARAM_ASSERT' 322 | MAP_PARAM_ASSERT(itr); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:8:37: note: in expansion of macro 'MOD_RET_ASSERT' 8 | #define MAP_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MAP_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:323:5: note: in expansion of macro 'MAP_PARAM_ASSERT' 323 | MAP_PARAM_ASSERT(value); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_put': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:8:37: note: in expansion of macro 'MOD_RET_ASSERT' 8 | #define MAP_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MAP_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:333:5: note: in expansion of macro 'MAP_PARAM_ASSERT' 333 | MAP_PARAM_ASSERT(m); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:8:37: note: in expansion of macro 'MOD_RET_ASSERT' 8 | #define MAP_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MAP_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:334:5: note: in expansion of macro 'MAP_PARAM_ASSERT' 334 | MAP_PARAM_ASSERT(key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:8:37: note: in expansion of macro 'MOD_RET_ASSERT' 8 | #define MAP_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MAP_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:335:5: note: in expansion of macro 'MAP_PARAM_ASSERT' 335 | MAP_PARAM_ASSERT(value); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_get': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:345:5: note: in expansion of macro 'MOD_RET_ASSERT' 345 | MOD_RET_ASSERT(key, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:346:5: note: in expansion of macro 'MOD_RET_ASSERT' 346 | MOD_RET_ASSERT(map_length(m) > 0, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_iterate': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:8:37: note: in expansion of macro 'MOD_RET_ASSERT' 8 | #define MAP_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MAP_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:369:5: note: in expansion of macro 'MAP_PARAM_ASSERT' 369 | MAP_PARAM_ASSERT(fn); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:370:5: note: in expansion of macro 'MOD_RET_ASSERT' 370 | MOD_RET_ASSERT(map_length(m) > 0, MAP_MISSING); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_remove': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:8:37: note: in expansion of macro 'MOD_RET_ASSERT' 8 | #define MAP_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MAP_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:402:5: note: in expansion of macro 'MAP_PARAM_ASSERT' 402 | MAP_PARAM_ASSERT(key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:403:5: note: in expansion of macro 'MOD_RET_ASSERT' 403 | MOD_RET_ASSERT(map_length(m) > 0, MAP_MISSING); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_clear': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:8:37: note: in expansion of macro 'MOD_RET_ASSERT' 8 | #define MAP_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MAP_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:415:5: note: in expansion of macro 'MAP_PARAM_ASSERT' 415 | MAP_PARAM_ASSERT(m); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c: In function 'map_length': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:8:37: note: in expansion of macro 'MOD_RET_ASSERT' 8 | #define MAP_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MAP_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/map.c:435:5: note: in expansion of macro 'MAP_PARAM_ASSERT' 435 | MAP_PARAM_ASSERT(m); | ^~~~~~~~~~~~~~~~ [ 22%] Building C object CMakeFiles/libmodule.dir/Lib/module.c.o /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'init_ctx': /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:18:44: warning: left-hand operand of comma expression has no effect [-Wunused-value] 18 | MODULE_DEBUG("Creating context '%s'.\n", ctx_name); | ^ In file included from /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_priv.h:3, from /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:2: /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:17:37: note: in expansion of macro 'MOD_RET_ASSERT' 17 | #define MOD_ALLOC_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_NO_MEM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:21:5: note: in expansion of macro 'MOD_ALLOC_ASSERT' 21 | MOD_ALLOC_ASSERT(*context); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:24:5: note: in expansion of macro 'MOD_ASSERT' 24 | MOD_ASSERT((*context)->fd >= 0, "Failed to create context fd.", MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'destroy_ctx': /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:43:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] 43 | MODULE_DEBUG("Destroying context '%s'.\n", context->name); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function '_register_fd': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:17:37: note: in expansion of macro 'MOD_RET_ASSERT' 17 | #define MOD_ALLOC_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_NO_MEM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:97:5: note: in expansion of macro 'MOD_ALLOC_ASSERT' 97 | MOD_ALLOC_ASSERT(tmp); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'start': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:201:5: note: in expansion of macro 'MOD_ASSERT' 201 | MOD_ASSERT(!ret, errors[start], MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:210:30: warning: left-hand operand of comma expression has no effect [-Wunused-value] 210 | MODULE_DEBUG("%s '%s'.\n", start ? "Started" : "Resumed", mod->name); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:210:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] 210 | MODULE_DEBUG("%s '%s'.\n", start ? "Started" : "Resumed", mod->name); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'stop': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:225:5: note: in expansion of macro 'MOD_ASSERT' 225 | MOD_ASSERT(!ret, errors[stop], MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:238:30: warning: left-hand operand of comma expression has no effect [-Wunused-value] 238 | MODULE_DEBUG("%s '%s'.\n", stop ? "Stopped" : "Paused", mod->name); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:238:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] 238 | MODULE_DEBUG("%s '%s'.\n", stop ? "Stopped" : "Paused", mod->name); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_register': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:262:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 262 | MOD_PARAM_ASSERT(name); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:263:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 263 | MOD_PARAM_ASSERT(ctx_name); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:264:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 264 | MOD_PARAM_ASSERT(self); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:265:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 265 | MOD_PARAM_ASSERT(!*self); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:266:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 266 | MOD_PARAM_ASSERT(hook); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:269:5: note: in expansion of macro 'MOD_ASSERT' 269 | MOD_ASSERT(context, "Failed to create context.", MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:272:5: note: in expansion of macro 'MOD_ASSERT' 272 | MOD_ASSERT(!present, "Module with same name already registered in context.", MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:274:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] 274 | MODULE_DEBUG("Registering module '%s'.\n", name); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:17:37: note: in expansion of macro 'MOD_RET_ASSERT' 17 | #define MOD_ALLOC_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_NO_MEM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:277:5: note: in expansion of macro 'MOD_ALLOC_ASSERT' 277 | MOD_ALLOC_ASSERT(mod); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_deregister': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:321:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 321 | MOD_PARAM_ASSERT(self); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:323:5: note: in expansion of macro 'GET_MOD' 323 | GET_MOD(*self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:323:5: note: in expansion of macro 'GET_MOD' 323 | GET_MOD(*self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:323:5: note: in expansion of macro 'GET_MOD' 323 | GET_MOD(*self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:324:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 324 | MODULE_DEBUG("Deregistering module '%s'.\n", mod->name); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_load': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:355:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 355 | MOD_PARAM_ASSERT(module_path); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:22:5: note: in expansion of macro 'MOD_ASSERT' 22 | MOD_ASSERT(name, "NULL ctx.", MOD_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:356:5: note: in expansion of macro 'FIND_CTX' 356 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:24:5: note: in expansion of macro 'MOD_ASSERT' 24 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:356:5: note: in expansion of macro 'FIND_CTX' 356 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:362:54: warning: left-hand operand of comma expression has no effect [-Wunused-value] 362 | MODULE_DEBUG("Dlopen failed with error: %s\n", dlerror()); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_unload': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:378:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 378 | MOD_PARAM_ASSERT(module_path); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:387:50: warning: left-hand operand of comma expression has no effect [-Wunused-value] 387 | MODULE_DEBUG("Dlopen failed with error: %s\n", dlerror()); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_become': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:392:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 392 | MOD_PARAM_ASSERT(new_recv); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:393:5: note: in expansion of macro 'GET_MOD_IN_STATE' 393 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:393:5: note: in expansion of macro 'GET_MOD_IN_STATE' 393 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:393:5: note: in expansion of macro 'GET_MOD_IN_STATE' 393 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:68:5: note: in expansion of macro 'MOD_ASSERT' 68 | MOD_ASSERT(_module_is(mod, state), "Wrong module state.", MOD_WRONG_STATE); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:393:5: note: in expansion of macro 'GET_MOD_IN_STATE' 393 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_unbecome': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:402:5: note: in expansion of macro 'GET_MOD_IN_STATE' 402 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:402:5: note: in expansion of macro 'GET_MOD_IN_STATE' 402 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:402:5: note: in expansion of macro 'GET_MOD_IN_STATE' 402 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:68:5: note: in expansion of macro 'MOD_ASSERT' 68 | MOD_ASSERT(_module_is(mod, state), "Wrong module state.", MOD_WRONG_STATE); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:402:5: note: in expansion of macro 'GET_MOD_IN_STATE' 402 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_log': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:411:5: note: in expansion of macro 'GET_MOD' 411 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:411:5: note: in expansion of macro 'GET_MOD' 411 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:411:5: note: in expansion of macro 'GET_MOD' 411 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:32:5: note: in expansion of macro 'MOD_ASSERT' 32 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:412:5: note: in expansion of macro 'GET_CTX' 412 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:33:5: note: in expansion of macro 'MOD_ASSERT' 33 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:412:5: note: in expansion of macro 'GET_CTX' 412 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:35:5: note: in expansion of macro 'MOD_ASSERT' 35 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:412:5: note: in expansion of macro 'GET_CTX' 412 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_set_userdata': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:422:5: note: in expansion of macro 'GET_MOD' 422 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:422:5: note: in expansion of macro 'GET_MOD' 422 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:422:5: note: in expansion of macro 'GET_MOD' 422 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_register_fd': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:429:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 429 | MOD_PARAM_ASSERT(fd >= 0); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:430:5: note: in expansion of macro 'GET_MOD' 430 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:430:5: note: in expansion of macro 'GET_MOD' 430 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:430:5: note: in expansion of macro 'GET_MOD' 430 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_deregister_fd': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:436:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 436 | MOD_PARAM_ASSERT(fd >= 0); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:437:5: note: in expansion of macro 'GET_MOD' 437 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:437:5: note: in expansion of macro 'GET_MOD' 437 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:437:5: note: in expansion of macro 'GET_MOD' 437 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:438:5: note: in expansion of macro 'MOD_ASSERT' 438 | MOD_ASSERT(mod->fds, "No fd registered in this module.", MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_get_name': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:60:31: note: in expansion of macro '_GET_MOD' 60 | #define GET_MOD_PURE(self) _GET_MOD(self, true) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:444:5: note: in expansion of macro 'GET_MOD_PURE' 444 | GET_MOD_PURE(self); | ^~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:60:31: note: in expansion of macro '_GET_MOD' 60 | #define GET_MOD_PURE(self) _GET_MOD(self, true) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:444:5: note: in expansion of macro 'GET_MOD_PURE' 444 | GET_MOD_PURE(self); | ^~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:60:31: note: in expansion of macro '_GET_MOD' 60 | #define GET_MOD_PURE(self) _GET_MOD(self, true) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:444:5: note: in expansion of macro 'GET_MOD_PURE' 444 | GET_MOD_PURE(self); | ^~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:17:37: note: in expansion of macro 'MOD_RET_ASSERT' 17 | #define MOD_ALLOC_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_NO_MEM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:447:5: note: in expansion of macro 'MOD_ALLOC_ASSERT' 447 | MOD_ALLOC_ASSERT(*name); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_get_context': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:32:5: note: in expansion of macro 'MOD_ASSERT' 32 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:39:29: note: in expansion of macro '_GET_CTX' 39 | #define GET_CTX_PURE(self) _GET_CTX(self, true) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:452:5: note: in expansion of macro 'GET_CTX_PURE' 452 | GET_CTX_PURE(self); | ^~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:33:5: note: in expansion of macro 'MOD_ASSERT' 33 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:39:29: note: in expansion of macro '_GET_CTX' 39 | #define GET_CTX_PURE(self) _GET_CTX(self, true) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:452:5: note: in expansion of macro 'GET_CTX_PURE' 452 | GET_CTX_PURE(self); | ^~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:35:5: note: in expansion of macro 'MOD_ASSERT' 35 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:39:29: note: in expansion of macro '_GET_CTX' 39 | #define GET_CTX_PURE(self) _GET_CTX(self, true) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:452:5: note: in expansion of macro 'GET_CTX_PURE' 452 | GET_CTX_PURE(self); | ^~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:17:37: note: in expansion of macro 'MOD_RET_ASSERT' 17 | #define MOD_ALLOC_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_NO_MEM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:455:5: note: in expansion of macro 'MOD_ALLOC_ASSERT' 455 | MOD_ALLOC_ASSERT(*ctx); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_is': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:60:31: note: in expansion of macro '_GET_MOD' 60 | #define GET_MOD_PURE(self) _GET_MOD(self, true) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:462:5: note: in expansion of macro 'GET_MOD_PURE' 462 | GET_MOD_PURE(self); | ^~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:60:31: note: in expansion of macro '_GET_MOD' 60 | #define GET_MOD_PURE(self) _GET_MOD(self, true) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:462:5: note: in expansion of macro 'GET_MOD_PURE' 462 | GET_MOD_PURE(self); | ^~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:60:31: note: in expansion of macro '_GET_MOD' 60 | #define GET_MOD_PURE(self) _GET_MOD(self, true) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:462:5: note: in expansion of macro 'GET_MOD_PURE' 462 | GET_MOD_PURE(self); | ^~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_dump': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:468:5: note: in expansion of macro 'GET_MOD' 468 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:468:5: note: in expansion of macro 'GET_MOD' 468 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:468:5: note: in expansion of macro 'GET_MOD' 468 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_start': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:490:5: note: in expansion of macro 'GET_MOD_IN_STATE' 490 | GET_MOD_IN_STATE(self, IDLE | STOPPED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:490:5: note: in expansion of macro 'GET_MOD_IN_STATE' 490 | GET_MOD_IN_STATE(self, IDLE | STOPPED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:490:5: note: in expansion of macro 'GET_MOD_IN_STATE' 490 | GET_MOD_IN_STATE(self, IDLE | STOPPED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:68:5: note: in expansion of macro 'MOD_ASSERT' 68 | MOD_ASSERT(_module_is(mod, state), "Wrong module state.", MOD_WRONG_STATE); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:490:5: note: in expansion of macro 'GET_MOD_IN_STATE' 490 | GET_MOD_IN_STATE(self, IDLE | STOPPED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_pause': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:496:5: note: in expansion of macro 'GET_MOD_IN_STATE' 496 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:496:5: note: in expansion of macro 'GET_MOD_IN_STATE' 496 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:496:5: note: in expansion of macro 'GET_MOD_IN_STATE' 496 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:68:5: note: in expansion of macro 'MOD_ASSERT' 68 | MOD_ASSERT(_module_is(mod, state), "Wrong module state.", MOD_WRONG_STATE); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:496:5: note: in expansion of macro 'GET_MOD_IN_STATE' 496 | GET_MOD_IN_STATE(self, RUNNING); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_resume': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:502:5: note: in expansion of macro 'GET_MOD_IN_STATE' 502 | GET_MOD_IN_STATE(self, PAUSED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:502:5: note: in expansion of macro 'GET_MOD_IN_STATE' 502 | GET_MOD_IN_STATE(self, PAUSED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:502:5: note: in expansion of macro 'GET_MOD_IN_STATE' 502 | GET_MOD_IN_STATE(self, PAUSED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:68:5: note: in expansion of macro 'MOD_ASSERT' 68 | MOD_ASSERT(_module_is(mod, state), "Wrong module state.", MOD_WRONG_STATE); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:502:5: note: in expansion of macro 'GET_MOD_IN_STATE' 502 | GET_MOD_IN_STATE(self, PAUSED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c: In function 'module_stop': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:508:5: note: in expansion of macro 'GET_MOD_IN_STATE' 508 | GET_MOD_IN_STATE(self, RUNNING | PAUSED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:508:5: note: in expansion of macro 'GET_MOD_IN_STATE' 508 | GET_MOD_IN_STATE(self, RUNNING | PAUSED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:67:5: note: in expansion of macro 'GET_MOD' 67 | GET_MOD(self); \ | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:508:5: note: in expansion of macro 'GET_MOD_IN_STATE' 508 | GET_MOD_IN_STATE(self, RUNNING | PAUSED); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:68:5: note: in expansion of macro 'MOD_ASSERT' 68 | MOD_ASSERT(_module_is(mod, state), "Wrong module state.", MOD_WRONG_STATE); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/module.c:508:5: note: in expansion of macro 'GET_MOD_IN_STATE' 508 | GET_MOD_IN_STATE(self, RUNNING | PAUSED); | ^~~~~~~~~~~~~~~~ [ 33%] Building C object CMakeFiles/libmodule.dir/Lib/modules.c.o /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c: In function 'main': /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:54:50: warning: left-hand operand of comma expression has no effect [-Wunused-value] 54 | MODULE_DEBUG("Allocating %ld pthreads.\n", map_length(ctx)); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:65:58: warning: left-hand operand of comma expression has no effect [-Wunused-value] 65 | MODULE_DEBUG("Running in single ctx mode: '%s'\n", (const char *)th); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c: In function 'modules_init': /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:79:54: warning: left-hand operand of comma expression has no effect [-Wunused-value] 79 | MODULE_DEBUG("Initializing libmodule %d.%d.%d.\n", MODULE_VERSION_MAJ, MODULE_VERSION_MIN, MODULE_VERSION_PAT); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:79:74: warning: left-hand operand of comma expression has no effect [-Wunused-value] 79 | MODULE_DEBUG("Initializing libmodule %d.%d.%d.\n", MODULE_VERSION_MAJ, MODULE_VERSION_MIN, MODULE_VERSION_PAT); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:79:94: warning: left-hand operand of comma expression has no effect [-Wunused-value] 79 | MODULE_DEBUG("Initializing libmodule %d.%d.%d.\n", MODULE_VERSION_MAJ, MODULE_VERSION_MIN, MODULE_VERSION_PAT); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c: In function 'recv_events': /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:151:73: warning: left-hand operand of comma expression has no effect [-Wunused-value] 151 | MODULE_DEBUG("Failed to read message for '%s': %s\n", mod->name, strerror(errno)); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:151:84: warning: left-hand operand of comma expression has no effect [-Wunused-value] 151 | MODULE_DEBUG("Failed to read message for '%s': %s\n", mod->name, strerror(errno)); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:167:53: warning: left-hand operand of comma expression has no effect [-Wunused-value] 167 | MODULE_DEBUG("PoisonPilling '%s'.\n", mod->name); | ^ In file included from /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_priv.h:3, from /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:2: /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c: In function 'modules_set_memhook': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:190:9: note: in expansion of macro 'MOD_ASSERT' 190 | MOD_ASSERT(hook->_malloc, "NULL malloc fn.", MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:191:9: note: in expansion of macro 'MOD_ASSERT' 191 | MOD_ASSERT(hook->_realloc, "NULL realloc fn.", MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:192:9: note: in expansion of macro 'MOD_ASSERT' 192 | MOD_ASSERT(hook->_calloc, "NULL calloc fn.", MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:193:9: note: in expansion of macro 'MOD_ASSERT' 193 | MOD_ASSERT(hook->_free, "NULL free fn.", MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c: In function 'modules_ctx_set_logger': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:205:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 205 | MOD_PARAM_ASSERT(logger); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:22:5: note: in expansion of macro 'MOD_ASSERT' 22 | MOD_ASSERT(name, "NULL ctx.", MOD_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:206:5: note: in expansion of macro 'FIND_CTX' 206 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:24:5: note: in expansion of macro 'MOD_ASSERT' 24 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:206:5: note: in expansion of macro 'FIND_CTX' 206 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c: In function 'modules_ctx_loop_events': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:213:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 213 | MOD_PARAM_ASSERT(max_events > 0); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:22:5: note: in expansion of macro 'MOD_ASSERT' 22 | MOD_ASSERT(name, "NULL ctx.", MOD_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:214:5: note: in expansion of macro 'FIND_CTX' 214 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:24:5: note: in expansion of macro 'MOD_ASSERT' 24 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:214:5: note: in expansion of macro 'FIND_CTX' 214 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:215:5: note: in expansion of macro 'MOD_ASSERT' 215 | MOD_ASSERT(!c->looping, "Context already looping.", MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c: In function 'modules_ctx_quit': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:22:5: note: in expansion of macro 'MOD_ASSERT' 22 | MOD_ASSERT(name, "NULL ctx.", MOD_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:227:5: note: in expansion of macro 'FIND_CTX' 227 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:24:5: note: in expansion of macro 'MOD_ASSERT' 24 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:227:5: note: in expansion of macro 'FIND_CTX' 227 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:228:5: note: in expansion of macro 'MOD_ASSERT' 228 | MOD_ASSERT(c->looping, "Context not looping.", MOD_ERR); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c: In function 'modules_ctx_get_fd': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:234:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 234 | MOD_PARAM_ASSERT(fd); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:22:5: note: in expansion of macro 'MOD_ASSERT' 22 | MOD_ASSERT(name, "NULL ctx.", MOD_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:235:5: note: in expansion of macro 'FIND_CTX' 235 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:24:5: note: in expansion of macro 'MOD_ASSERT' 24 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:235:5: note: in expansion of macro 'FIND_CTX' 235 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c: In function 'modules_ctx_dispatch': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:242:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 242 | MOD_PARAM_ASSERT(ret); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:22:5: note: in expansion of macro 'MOD_ASSERT' 22 | MOD_ASSERT(name, "NULL ctx.", MOD_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:243:5: note: in expansion of macro 'FIND_CTX' 243 | FIND_CTX(ctx_name); | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:24:5: note: in expansion of macro 'MOD_ASSERT' 24 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/modules.c:243:5: note: in expansion of macro 'FIND_CTX' 243 | FIND_CTX(ctx_name); | ^~~~~~~~ [ 44%] Building C object CMakeFiles/libmodule.dir/Lib/priv.c.o [ 55%] Building C object CMakeFiles/libmodule.dir/Lib/pubsub.c.o /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c: In function 'tell_if': /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:54:52: warning: left-hand operand of comma expression has no effect [-Wunused-value] 54 | MODULE_DEBUG("Telling a message to '%s'.\n", mod->name); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:57:57: warning: left-hand operand of comma expression has no effect [-Wunused-value] 57 | MODULE_DEBUG("Failed to write message: %s\n", strerror(errno)); | ^ In file included from /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_priv.h:3, from /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:2: /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c: In function 'send_msg': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:118:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 118 | MOD_PARAM_ASSERT(message); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:119:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 119 | MOD_PARAM_ASSERT(size > 0); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c: In function 'flush_pubsub_msgs': /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:148:79: warning: left-hand operand of comma expression has no effect [-Wunused-value] 148 | MODULE_DEBUG("Flushing enqueued pubsub message for module '%s'.\n", mod->name); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:152:81: warning: left-hand operand of comma expression has no effect [-Wunused-value] 152 | MODULE_DEBUG("Destroying enqueued pubsub message for module '%s'.\n", mod->name); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c: In function 'module_ref': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:176:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 176 | MOD_PARAM_ASSERT(name); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:177:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 177 | MOD_PARAM_ASSERT(modref); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:178:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 178 | MOD_PARAM_ASSERT(!*modref); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:32:5: note: in expansion of macro 'MOD_ASSERT' 32 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:180:5: note: in expansion of macro 'GET_CTX' 180 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:33:5: note: in expansion of macro 'MOD_ASSERT' 33 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:180:5: note: in expansion of macro 'GET_CTX' 180 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:35:5: note: in expansion of macro 'MOD_ASSERT' 35 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:180:5: note: in expansion of macro 'GET_CTX' 180 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:44:5: note: in expansion of macro 'MOD_ASSERT' 44 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:181:5: note: in expansion of macro 'CTX_GET_MOD' 181 | CTX_GET_MOD(name, c); | ^~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c: In function 'module_subscribe': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:188:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 188 | MOD_PARAM_ASSERT(topic); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:189:5: note: in expansion of macro 'GET_MOD' 189 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:189:5: note: in expansion of macro 'GET_MOD' 189 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:189:5: note: in expansion of macro 'GET_MOD' 189 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:32:5: note: in expansion of macro 'MOD_ASSERT' 32 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:190:5: note: in expansion of macro 'GET_CTX' 190 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:33:5: note: in expansion of macro 'MOD_ASSERT' 33 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:190:5: note: in expansion of macro 'GET_CTX' 190 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:35:5: note: in expansion of macro 'MOD_ASSERT' 35 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:190:5: note: in expansion of macro 'GET_CTX' 190 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:196:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 196 | MODULE_DEBUG("'%s' is a valid regex.\n", topic); | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:17:37: note: in expansion of macro 'MOD_RET_ASSERT' 17 | #define MOD_ALLOC_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_NO_MEM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:201:13: note: in expansion of macro 'MOD_ALLOC_ASSERT' 201 | MOD_ALLOC_ASSERT(mod->subscriptions); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c: In function 'module_unsubscribe': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:217:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 217 | MOD_PARAM_ASSERT(topic); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:218:5: note: in expansion of macro 'GET_MOD' 218 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:218:5: note: in expansion of macro 'GET_MOD' 218 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:218:5: note: in expansion of macro 'GET_MOD' 218 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c: In function 'module_tell': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:230:5: note: in expansion of macro 'GET_MOD' 230 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:230:5: note: in expansion of macro 'GET_MOD' 230 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:230:5: note: in expansion of macro 'GET_MOD' 230 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:231:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 231 | MOD_PARAM_ASSERT(recipient); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:233:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 233 | MOD_PARAM_ASSERT(self->ctx == recipient->ctx); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c: In function 'module_publish': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:240:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 240 | MOD_PARAM_ASSERT(topic); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:241:5: note: in expansion of macro 'GET_MOD' 241 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:241:5: note: in expansion of macro 'GET_MOD' 241 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:241:5: note: in expansion of macro 'GET_MOD' 241 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c: In function 'module_broadcast': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:248:5: note: in expansion of macro 'GET_MOD' 248 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:248:5: note: in expansion of macro 'GET_MOD' 248 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:248:5: note: in expansion of macro 'GET_MOD' 248 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c: In function 'module_poisonpill': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:53:5: note: in expansion of macro 'MOD_ASSERT' 53 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:254:5: note: in expansion of macro 'GET_MOD' 254 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:54:5: note: in expansion of macro 'MOD_ASSERT' 54 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:254:5: note: in expansion of macro 'GET_MOD' 254 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:56:5: note: in expansion of macro 'MOD_ASSERT' 56 | MOD_ASSERT(mod, "Module not found.", MOD_NO_MOD); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:59:31: note: in expansion of macro '_GET_MOD' 59 | #define GET_MOD(self) _GET_MOD(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:254:5: note: in expansion of macro 'GET_MOD' 254 | GET_MOD(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:32:5: note: in expansion of macro 'MOD_ASSERT' 32 | MOD_ASSERT((self), "NULL self handler.", MOD_NO_SELF); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:255:5: note: in expansion of macro 'GET_CTX' 255 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:33:5: note: in expansion of macro 'MOD_ASSERT' 33 | MOD_ASSERT(!(self)->is_ref || pure, "Self is a reference object. It does not own module.", MOD_REF_ERR); \ | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:255:5: note: in expansion of macro 'GET_CTX' 255 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:35:5: note: in expansion of macro 'MOD_ASSERT' 35 | MOD_ASSERT(c, "Context not found.", MOD_NO_CTX); | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:38:29: note: in expansion of macro '_GET_CTX' 38 | #define GET_CTX(self) _GET_CTX(self, false) | ^~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:255:5: note: in expansion of macro 'GET_CTX' 255 | GET_CTX(self); | ^~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:18:37: note: in expansion of macro 'MOD_RET_ASSERT' 18 | #define MOD_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/pubsub.c:256:5: note: in expansion of macro 'MOD_PARAM_ASSERT' 256 | MOD_PARAM_ASSERT(module_is(recipient, RUNNING)); | ^~~~~~~~~~~~~~~~ [ 66%] Building C object CMakeFiles/libmodule.dir/Lib/queue.c.o In file included from /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_priv.h:3, from /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:1: /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c: In function 'queue_itr_new': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:33:5: note: in expansion of macro 'MOD_RET_ASSERT' 33 | MOD_RET_ASSERT(queue_length(q) > 0, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c: In function 'queue_itr_next': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:43:5: note: in expansion of macro 'MOD_RET_ASSERT' 43 | MOD_RET_ASSERT(itr, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c: In function 'queue_itr_get_data': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:54:5: note: in expansion of macro 'MOD_RET_ASSERT' 54 | MOD_RET_ASSERT(itr, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c: In function 'queue_itr_set_data': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:4:37: note: in expansion of macro 'MOD_RET_ASSERT' 4 | #define QUEUE_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, QUEUE_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:60:5: note: in expansion of macro 'QUEUE_PARAM_ASSERT' 60 | QUEUE_PARAM_ASSERT(itr); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:4:37: note: in expansion of macro 'MOD_RET_ASSERT' 4 | #define QUEUE_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, QUEUE_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:61:5: note: in expansion of macro 'QUEUE_PARAM_ASSERT' 61 | QUEUE_PARAM_ASSERT(value); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c: In function 'queue_iterate': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:4:37: note: in expansion of macro 'MOD_RET_ASSERT' 4 | #define QUEUE_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, QUEUE_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:68:5: note: in expansion of macro 'QUEUE_PARAM_ASSERT' 68 | QUEUE_PARAM_ASSERT(fn); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:69:5: note: in expansion of macro 'MOD_RET_ASSERT' 69 | MOD_RET_ASSERT(queue_length(q) > 0, QUEUE_MISSING); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c: In function 'queue_enqueue': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:4:37: note: in expansion of macro 'MOD_RET_ASSERT' 4 | #define QUEUE_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, QUEUE_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:88:5: note: in expansion of macro 'QUEUE_PARAM_ASSERT' 88 | QUEUE_PARAM_ASSERT(q); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:4:37: note: in expansion of macro 'MOD_RET_ASSERT' 4 | #define QUEUE_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, QUEUE_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:89:5: note: in expansion of macro 'QUEUE_PARAM_ASSERT' 89 | QUEUE_PARAM_ASSERT(data); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c: In function 'queue_dequeue': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:108:5: note: in expansion of macro 'MOD_RET_ASSERT' 108 | MOD_RET_ASSERT(queue_length(q) > 0, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c: In function 'queue_peek': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:123:5: note: in expansion of macro 'MOD_RET_ASSERT' 123 | MOD_RET_ASSERT(queue_length(q) > 0, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c: In function 'queue_clear': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:4:37: note: in expansion of macro 'MOD_RET_ASSERT' 4 | #define QUEUE_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, QUEUE_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:129:5: note: in expansion of macro 'QUEUE_PARAM_ASSERT' 129 | QUEUE_PARAM_ASSERT(q); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c: In function 'queue_length': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:4:37: note: in expansion of macro 'MOD_RET_ASSERT' 4 | #define QUEUE_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, QUEUE_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/queue.c:150:5: note: in expansion of macro 'QUEUE_PARAM_ASSERT' 150 | QUEUE_PARAM_ASSERT(q); | ^~~~~~~~~~~~~~~~~~ [ 77%] Building C object CMakeFiles/libmodule.dir/Lib/stack.c.o In file included from /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_priv.h:3, from /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:1: /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c: In function 'stack_itr_new': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:31:5: note: in expansion of macro 'MOD_RET_ASSERT' 31 | MOD_RET_ASSERT(stack_length(s) > 0, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c: In function 'stack_itr_next': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:41:5: note: in expansion of macro 'MOD_RET_ASSERT' 41 | MOD_RET_ASSERT(itr, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c: In function 'stack_itr_get_data': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:52:5: note: in expansion of macro 'MOD_RET_ASSERT' 52 | MOD_RET_ASSERT(itr, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c: In function 'stack_itr_set_data': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:3:37: note: in expansion of macro 'MOD_RET_ASSERT' 3 | #define STACK_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, STACK_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:58:5: note: in expansion of macro 'STACK_PARAM_ASSERT' 58 | STACK_PARAM_ASSERT(itr); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:3:37: note: in expansion of macro 'MOD_RET_ASSERT' 3 | #define STACK_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, STACK_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:59:5: note: in expansion of macro 'STACK_PARAM_ASSERT' 59 | STACK_PARAM_ASSERT(value); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c: In function 'stack_iterate': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:3:37: note: in expansion of macro 'MOD_RET_ASSERT' 3 | #define STACK_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, STACK_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:66:5: note: in expansion of macro 'STACK_PARAM_ASSERT' 66 | STACK_PARAM_ASSERT(fn); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:67:5: note: in expansion of macro 'MOD_RET_ASSERT' 67 | MOD_RET_ASSERT(stack_length(s) > 0, STACK_MISSING); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c: In function 'stack_push': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:3:37: note: in expansion of macro 'MOD_RET_ASSERT' 3 | #define STACK_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, STACK_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:86:5: note: in expansion of macro 'STACK_PARAM_ASSERT' 86 | STACK_PARAM_ASSERT(s); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:3:37: note: in expansion of macro 'MOD_RET_ASSERT' 3 | #define STACK_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, STACK_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:87:5: note: in expansion of macro 'STACK_PARAM_ASSERT' 87 | STACK_PARAM_ASSERT(data); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c: In function 'stack_pop': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:101:5: note: in expansion of macro 'MOD_RET_ASSERT' 101 | MOD_RET_ASSERT(stack_length(s) > 0, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c: In function 'stack_peek': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:112:5: note: in expansion of macro 'MOD_RET_ASSERT' 112 | MOD_RET_ASSERT(stack_length(s) > 0, NULL); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c: In function 'stack_clear': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:3:37: note: in expansion of macro 'MOD_RET_ASSERT' 3 | #define STACK_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, STACK_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:118:5: note: in expansion of macro 'STACK_PARAM_ASSERT' 118 | STACK_PARAM_ASSERT(s); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c: In function 'stack_length': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:3:37: note: in expansion of macro 'MOD_RET_ASSERT' 3 | #define STACK_PARAM_ASSERT(cond) MOD_RET_ASSERT(cond, STACK_WRONG_PARAM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/stack.c:139:5: note: in expansion of macro 'STACK_PARAM_ASSERT' 139 | STACK_PARAM_ASSERT(s); | ^~~~~~~~~~~~~~~~~~ [ 88%] Building C object CMakeFiles/libmodule.dir/Lib/poll_plugins/epoll_priv.c.o In file included from /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_priv.h:3, from /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_plugins/epoll_priv.c:1: /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_plugins/epoll_priv.c: In function 'poll_set_data': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:17:37: note: in expansion of macro 'MOD_RET_ASSERT' 17 | #define MOD_ALLOC_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_NO_MEM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_plugins/epoll_priv.c:10:5: note: in expansion of macro 'MOD_ALLOC_ASSERT' 10 | MOD_ALLOC_ASSERT(*_ev); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_plugins/epoll_priv.c: In function 'poll_init_pevents': /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:13:71: warning: left-hand operand of comma expression has no effect [-Wunused-value] 13 | #define MOD_ASSERT(cond, msg, ret) if (!(cond)) { MODULE_DEBUG("%s\n", msg); return ret; } | ^ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:15:37: note: in expansion of macro 'MOD_ASSERT' 15 | #define MOD_RET_ASSERT(cond, ret) MOD_ASSERT(cond, "("#cond ") condition failed.", ret) | ^~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/priv.h:17:37: note: in expansion of macro 'MOD_RET_ASSERT' 17 | #define MOD_ALLOC_ASSERT(cond) MOD_RET_ASSERT(cond, MOD_NO_MEM); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libmodule-5.0.1/Lib/poll_plugins/epoll_priv.c:29:5: note: in expansion of macro 'MOD_ALLOC_ASSERT' 29 | MOD_ALLOC_ASSERT(*pevents); | ^~~~~~~~~~~~~~~~ [100%] Linking C shared library libmodule.so [100%] Built target libmodule + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kVMLHn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 libmodule-5.0.1 + cd build + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64 'INSTALL=/usr/bin/install -p' [100%] Built target libmodule Install the project... -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/lib64/libmodule.so.5.0.1 -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/lib64/libmodule.so.5 -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/lib64/libmodule.so -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/include/module/map.h -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/include/module/module.h -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/include/module/module_cmn.h -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/include/module/module_easy.h -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/include/module/modules.h -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/include/module/modules_easy.h -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/include/module/queue.h -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/include/module/stack.h -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/share/pkgconfig/libmodule.pc -- Installing: /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/share/licenses/libmodule/LICENSE + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libmodule-5.0.1-2.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.d05zLW + umask 022 + cd /builddir/build/BUILD + cd libmodule-5.0.1 + DOCDIR=/builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/share/doc/libmodule + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/share/doc/libmodule + cp -pr README.md /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/share/doc/libmodule + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yfMPe3 + umask 022 + cd /builddir/build/BUILD + cd libmodule-5.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/share/licenses/libmodule + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/share/licenses/libmodule + cp -pr LICENSE /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64/usr/share/licenses/libmodule + RPM_EC=0 ++ jobs -p + exit 0 Provides: libmodule = 5.0.1-2.fc38 libmodule(x86-64) = 5.0.1-2.fc38 libmodule.so.5()(64bit) pkgconfig(libmodule) = 5.0.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.9)(64bit) libmodule.so.5()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64 Wrote: /builddir/build/RPMS/libmodule-5.0.1-2.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9trSqF + umask 022 + cd /builddir/build/BUILD + cd libmodule-5.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libmodule-5.0.1-2.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.lh1rAe + umask 022 + cd /builddir/build/BUILD + rm -rf libmodule-5.0.1 libmodule-5.0.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0