Diff of the two buildlogs: -- --- b1/build.log 2025-04-03 08:29:28.115440486 +0000 +++ b2/build.log 2025-04-03 08:50:54.270306011 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 6 02:50:35 -12 2026 -I: pbuilder-time-stamp: 1778079035 +I: Current time: Thu Apr 3 22:29:31 +14 2025 +I: pbuilder-time-stamp: 1743668971 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -23,52 +23,84 @@ dpkg-source: info: unpacking kpipewire_6.3.4-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3917967/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1572097/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 3 08:29 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1572097/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1572097/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='3592b9092aa6486c8635dd2be4b49eff' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3917967' - PS1='# ' - PS2='> ' + INVOCATION_ID=15f96093643f468badb21e35a11d774d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1572097 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.rZt8t1yn/pbuilderrc_2zmH --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rZt8t1yn/b1 --logfile b1/build.log kpipewire_6.3.4-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.rZt8t1yn/pbuilderrc_Dh33 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rZt8t1yn/b2 --logfile b2/build.log kpipewire_6.3.4-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3917967/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1572097/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -626,7 +658,7 @@ Get: 462 http://deb.debian.org/debian unstable/main amd64 qt6-declarative-private-dev amd64 6.8.2+dfsg-7 [673 kB] Get: 463 http://deb.debian.org/debian unstable/main amd64 qt6-wayland-dev-tools amd64 6.8.2-4 [29.8 kB] Get: 464 http://deb.debian.org/debian unstable/main amd64 qt6-wayland-dev amd64 6.8.2-4 [84.2 kB] -Fetched 244 MB in 2s (106 MB/s) +Fetched 244 MB in 20s (12.1 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19810 files and directories currently installed.) @@ -2127,8 +2159,8 @@ Setting up tzdata (2025b-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed May 6 14:51:35 UTC 2026. -Universal Time is now: Wed May 6 14:51:35 UTC 2026. +Local time is now: Thu Apr 3 08:38:54 UTC 2025. +Universal Time is now: Thu Apr 3 08:38:54 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -2516,7 +2548,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/kpipewire-6.3.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../kpipewire_6.3.4-1_source.changes +I: user script /srv/workspace/pbuilder/1572097/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1572097/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/kpipewire-6.3.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../kpipewire_6.3.4-1_source.changes dpkg-buildpackage: info: source package kpipewire dpkg-buildpackage: info: source version 6.3.4-1 dpkg-buildpackage: info: source distribution unstable @@ -2622,8 +2658,8 @@ -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success --- Configuring done (2.8s) --- Generating done (0.1s) +-- Configuring done (40.0s) +-- Generating done (1.3s) CMake Warning: Manually-specified variables were not used by the project: @@ -2635,76 +2671,76 @@ -- Build files have been written to: /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu make[1]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4' dh_auto_build --buildsystem=kf6 - cd obj-x86_64-linux-gnu && make -j42 "INSTALL=install --strip-program=true" VERBOSE=1 + cd obj-x86_64-linux-gnu && make -j20 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/reproducible-path/kpipewire-6.3.4 -B/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/CMakeFiles /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make -f CMakeFiles/pofiles-edd6d562652033fcbaf89e624131a855.dir/build.make CMakeFiles/pofiles-edd6d562652033fcbaf89e624131a855.dir/depend -make -f CMakeFiles/tsfiles-edd6d562652033fcbaf89e624131a855.dir/build.make CMakeFiles/tsfiles-edd6d562652033fcbaf89e624131a855.dir/depend -make -f src/CMakeFiles/KPipeWire_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWire_autogen_timestamp_deps.dir/depend make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/CMakeFiles/pofiles-edd6d562652033fcbaf89e624131a855.dir/DependInfo.cmake "--color=" +make -f CMakeFiles/tsfiles-edd6d562652033fcbaf89e624131a855.dir/build.make CMakeFiles/tsfiles-edd6d562652033fcbaf89e624131a855.dir/depend make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/CMakeFiles/tsfiles-edd6d562652033fcbaf89e624131a855.dir/DependInfo.cmake "--color=" +make -f src/CMakeFiles/KPipeWire_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWire_autogen_timestamp_deps.dir/depend make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWire_autogen_timestamp_deps.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +make -f CMakeFiles/tsfiles-edd6d562652033fcbaf89e624131a855.dir/build.make CMakeFiles/tsfiles-edd6d562652033fcbaf89e624131a855.dir/build +make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make -f CMakeFiles/pofiles-edd6d562652033fcbaf89e624131a855.dir/build.make CMakeFiles/pofiles-edd6d562652033fcbaf89e624131a855.dir/build -make -f CMakeFiles/tsfiles-edd6d562652033fcbaf89e624131a855.dir/build.make CMakeFiles/tsfiles-edd6d562652033fcbaf89e624131a855.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make -f src/CMakeFiles/KPipeWire_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWire_autogen_timestamp_deps.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'src/CMakeFiles/KPipeWire_autogen_timestamp_deps.dir/build'. make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 2%] Generating ts... -[ 2%] Generating mo... -[ 2%] Built target KPipeWire_autogen_timestamp_deps -/usr/bin/cmake -DGETTEXT_MSGFMT_EXECUTABLE=/usr/bin/msgfmt -DCOPY_TO=/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/locale -DPO_DIR=/build/reproducible-path/kpipewire-6.3.4/po -P /usr/lib/x86_64-linux-gnu/cmake/KF6I18n/build-pofiles.cmake +[ 1%] Generating ts... /usr/bin/cmake -DPython3_EXECUTABLE=/usr/bin/python3 -D_ki18n_pmap_compile_script=/usr/lib/x86_64-linux-gnu/cmake/KF6I18n/ts-pmap-compile.py -DCOPY_TO=/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/locale -DPO_DIR=/build/reproducible-path/kpipewire-6.3.4/po -P /usr/lib/x86_64-linux-gnu/cmake/KF6I18n/build-tsfiles.cmake +[ 1%] Built target KPipeWire_autogen_timestamp_deps make -f src/CMakeFiles/KPipeWire_autogen.dir/build.make src/CMakeFiles/KPipeWire_autogen.dir/depend make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWire_autogen.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make -f src/CMakeFiles/KPipeWire_autogen.dir/build.make src/CMakeFiles/KPipeWire_autogen.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +[ 2%] Generating mo... +/usr/bin/cmake -DGETTEXT_MSGFMT_EXECUTABLE=/usr/bin/msgfmt -DCOPY_TO=/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/locale -DPO_DIR=/build/reproducible-path/kpipewire-6.3.4/po -P /usr/lib/x86_64-linux-gnu/cmake/KF6I18n/build-pofiles.cmake +[ 2%] Built target tsfiles-edd6d562652033fcbaf89e624131a855 [ 4%] Automatic MOC for target KPipeWire cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_autogen /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWire_autogen.dir/AutogenInfo.json None -[ 4%] Built target tsfiles-edd6d562652033fcbaf89e624131a855 AutoGen: Refreshing parse cache because it doesn't exist. AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/moc_predefs.h", because it doesn't exist. /usr/bin/c++ -std=c++20 -dM -E -c /usr/share/cmake-3.31/Modules/CMakeCXXCompilerABI.cpp -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/KF6/KI18n -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging.h" +AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging_vaapi.h" AutoGen: Parsing "SRC:/src/glhelpers.h" +AutoGen: Parsing "SRC:/src/pipewirecore_p.h" +AutoGen: Parsing "SRC:/src/pipewiresourceitem.h" +AutoGen: Parsing "SRC:/src/pipewiresourcestream.h" AutoGen: Parsing "SRC:/src/pwhelpers.h" -AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging_vaapi.h" +AutoGen: Parsing "SRC:/src/vaapiutils_p.h" AutoGen: Parsing "SRC:/src/pwhelpers.cpp" -AutoGen: Parsing "SRC:/src/pipewiresourcestream.cpp" -AutoGen: Parsing "SRC:/src/pipewiresourceitem.h" -AutoGen: Parsing "SRC:/src/vaapiutils.cpp" AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging_vaapi.cpp" -AutoGen: Parsing "SRC:/src/pipewiresourceitem.cpp" -AutoGen: Parsing "SRC:/src/pipewirecore_p.h" +AutoGen: Parsing "SRC:/src/pipewiresourcestream.cpp" AutoGen: Parsing "SRC:/src/glhelpers.cpp" -AutoGen: Parsing "SRC:/src/pipewiresourcestream.h" -AutoGen: Parsing "SRC:/src/vaapiutils_p.h" -AutoGen: Parsing "SRC:/src/pipewirecore.cpp" AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging.cpp" -AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include/moc_pipewiresourcestream.cpp", because it doesn't exist, from "SRC:/src/pipewiresourcestream.h" -/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/KF6/KI18n -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include/moc_pipewiresourcestream.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h +AutoGen: Parsing "SRC:/src/pipewiresourceitem.cpp" +AutoGen: Parsing "SRC:/src/vaapiutils.cpp" +AutoGen: Parsing "SRC:/src/pipewirecore.cpp" AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/EWIEGA46WW/moc_pipewirecore_p.cpp", because it doesn't exist, from "SRC:/src/pipewirecore_p.h" /usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/KF6/KI18n -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/EWIEGA46WW/moc_pipewirecore_p.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewirecore_p.h AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include/moc_pipewiresourceitem.cpp", because it doesn't exist, from "SRC:/src/pipewiresourceitem.h" /usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/KF6/KI18n -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include/moc_pipewiresourceitem.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourceitem.h +AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include/moc_pipewiresourcestream.cpp", because it doesn't exist, from "SRC:/src/pipewiresourcestream.h" +/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/KF6/KI18n -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include/moc_pipewiresourcestream.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' [ 4%] Built target pofiles-edd6d562652033fcbaf89e624131a855 -AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/EWIEGA46WW/moc_pipewirecore_p.cpp.d" AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include/moc_pipewiresourcestream.cpp.d" +AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/EWIEGA46WW/moc_pipewirecore_p.cpp.d" AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include/moc_pipewiresourceitem.cpp.d" AutoMoc: Generating MOC compilation "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/mocs_compilation.cpp" AutoMoc: Merging MOC dependencies into "SRC:/obj-x86_64-linux-gnu/src/KPipeWire_autogen/deps" @@ -2722,22 +2758,22 @@ make -f src/CMakeFiles/KPipeWire.dir/build.make src/CMakeFiles/KPipeWire.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' [ 5%] Building CXX object src/CMakeFiles/KPipeWire.dir/KPipeWire_autogen/mocs_compilation.cpp.o -[ 6%] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewiresourceitem.cpp.o -[ 8%] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewiresourcestream.cpp.o -[ 9%] Building CXX object src/CMakeFiles/KPipeWire.dir/glhelpers.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/KPipeWire_autogen/mocs_compilation.cpp.o -MF CMakeFiles/KPipeWire.dir/KPipeWire_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/KPipeWire.dir/KPipeWire_autogen/mocs_compilation.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/mocs_compilation.cpp +[ 6%] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewiresourceitem.cpp.o +[ 8%] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/pipewiresourceitem.cpp.o -MF CMakeFiles/KPipeWire.dir/pipewiresourceitem.cpp.o.d -o CMakeFiles/KPipeWire.dir/pipewiresourceitem.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourceitem.cpp +[ 9%] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewiresourcestream.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o -MF CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o.d -o CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/pipewirecore.cpp [ 10%] Building CXX object src/CMakeFiles/KPipeWire.dir/pwhelpers.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/pipewiresourcestream.cpp.o -MF CMakeFiles/KPipeWire.dir/pipewiresourcestream.cpp.o.d -o CMakeFiles/KPipeWire.dir/pipewiresourcestream.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.cpp -[ 13%] Building CXX object src/CMakeFiles/KPipeWire.dir/vaapiutils.cpp.o -[ 13%] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o -[ 14%] Building CXX object src/CMakeFiles/KPipeWire.dir/logging.cpp.o -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/glhelpers.cpp.o -MF CMakeFiles/KPipeWire.dir/glhelpers.cpp.o.d -o CMakeFiles/KPipeWire.dir/glhelpers.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/glhelpers.cpp -[ 16%] Building CXX object src/CMakeFiles/KPipeWire.dir/logging_vaapi.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/pwhelpers.cpp.o -MF CMakeFiles/KPipeWire.dir/pwhelpers.cpp.o.d -o CMakeFiles/KPipeWire.dir/pwhelpers.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/pwhelpers.cpp -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o -MF CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o.d -o CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/pipewirecore.cpp +[ 12%] Building CXX object src/CMakeFiles/KPipeWire.dir/glhelpers.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/glhelpers.cpp.o -MF CMakeFiles/KPipeWire.dir/glhelpers.cpp.o.d -o CMakeFiles/KPipeWire.dir/glhelpers.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/glhelpers.cpp +[ 13%] Building CXX object src/CMakeFiles/KPipeWire.dir/vaapiutils.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/vaapiutils.cpp.o -MF CMakeFiles/KPipeWire.dir/vaapiutils.cpp.o.d -o CMakeFiles/KPipeWire.dir/vaapiutils.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/vaapiutils.cpp +[ 14%] Building CXX object src/CMakeFiles/KPipeWire.dir/logging.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/logging.cpp.o -MF CMakeFiles/KPipeWire.dir/logging.cpp.o.d -o CMakeFiles/KPipeWire.dir/logging.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/logging.cpp +[ 16%] Building CXX object src/CMakeFiles/KPipeWire.dir/logging_vaapi.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWire_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWire_autogen/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/KF6/KI18n -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -D_REENTRANT -I/usr/include -MD -MT src/CMakeFiles/KPipeWire.dir/logging_vaapi.cpp.o -MF CMakeFiles/KPipeWire.dir/logging_vaapi.cpp.o.d -o CMakeFiles/KPipeWire.dir/logging_vaapi.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/logging_vaapi.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewirecore.cpp:31:1: warning: missing initializer for member 'pw_core_events::bound_props' [-Wmissing-field-initializers] 31 | }; @@ -2751,84 +2787,84 @@ make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' [ 18%] Built target KPipeWire make -f src/CMakeFiles/KPipeWireDmaBuf_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWireDmaBuf_autogen_timestamp_deps.dir/depend -make -f src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/depend -make -f src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen_timestamp_deps.dir/build.make src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen_timestamp_deps.dir/depend make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/depend cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDmaBuf_autogen_timestamp_deps.dir/DependInfo.cmake "--color=" +make -f src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen_timestamp_deps.dir/build.make src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen_timestamp_deps.dir/depend make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src/monitors /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen_timestamp_deps.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/KPipeWireDmaBuf_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWireDmaBuf_autogen_timestamp_deps.dir/build -make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -make -f src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen_timestamp_deps.dir/build.make src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen_timestamp_deps.dir/build +make -f src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'src/CMakeFiles/KPipeWireDmaBuf_autogen_timestamp_deps.dir/build'. +make[3]: Nothing to be done for 'src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/build'. make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +make -f src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen_timestamp_deps.dir/build.make src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen_timestamp_deps.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen_timestamp_deps.dir/build'. make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/build +make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/KPipeWireDmaBuf_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWireDmaBuf_autogen_timestamp_deps.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'src/CMakeFiles/KPipeWireDeclarative_autogen_timestamp_deps.dir/build'. +[ 18%] Built target KPipeWireDeclarative_autogen_timestamp_deps +make -f src/CMakeFiles/KPipeWireDeclarative_autogen.dir/build.make src/CMakeFiles/KPipeWireDeclarative_autogen.dir/depend +make[3]: Nothing to be done for 'src/CMakeFiles/KPipeWireDmaBuf_autogen_timestamp_deps.dir/build'. make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 18%] Built target KPipeWireDmaBuf_autogen_timestamp_deps +make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative_autogen.dir/DependInfo.cmake "--color=" [ 18%] Built target KPipeWireMonitorDeclarative_autogen_timestamp_deps -make -f src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/build.make src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/depend make -f src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/build.make src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/depend -[ 18%] Built target KPipeWireDeclarative_autogen_timestamp_deps -make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/DependInfo.cmake "--color=" +[ 18%] Built target KPipeWireDmaBuf_autogen_timestamp_deps make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src/monitors /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/DependInfo.cmake "--color=" -make -f src/CMakeFiles/KPipeWireDeclarative_autogen.dir/build.make src/CMakeFiles/KPipeWireDeclarative_autogen.dir/depend +make -f src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/build.make src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/depend make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative_autogen.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/build.make src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/build +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make -f src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/build.make src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/KPipeWireDeclarative_autogen.dir/build.make src/CMakeFiles/KPipeWireDeclarative_autogen.dir/build -make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/build.make src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/build +[ 20%] Automatic MOC for target KPipeWireMonitorDeclarative make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 20%] Automatic MOC for target KPipeWireDmaBuf -[ 21%] Automatic MOC for target KPipeWireMonitorDeclarative -[ 22%] Automatic MOC for target KPipeWireDeclarative -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_autogen /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/AutogenInfo.json None +make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/KPipeWireDeclarative_autogen.dir/build.make src/CMakeFiles/KPipeWireDeclarative_autogen.dir/build cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E cmake_autogen /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/AutogenInfo.json None -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_autogen /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative_autogen.dir/AutogenInfo.json None -AutoGen: Refreshing parse cache because it doesn't exist. -AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireDmaBuf_autogen/moc_predefs.h", because it doesn't exist. -/usr/bin/c++ -std=c++20 -dM -E -c /usr/share/cmake-3.31/Modules/CMakeCXXCompilerABI.cpp -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDmaBuf_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu +make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +[ 21%] Automatic MOC for target KPipeWireDmaBuf AutoGen: Refreshing parse cache because it doesn't exist. +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_autogen /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/AutogenInfo.json None AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/moc_predefs.h", because it doesn't exist. /usr/bin/c++ -std=c++20 -dM -E -c /usr/share/cmake-3.31/Modules/CMakeCXXCompilerABI.cpp -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu +[ 22%] Automatic MOC for target KPipeWireDeclarative +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_autogen /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative_autogen.dir/AutogenInfo.json None +AutoGen: Parsing "SRC:/src/monitors/mediamonitor.h" +AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp" +AutoGen: Parsing "SRC:/src/monitors/mediamonitor.cpp" +AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/moc_mediamonitor.cpp", because it doesn't exist, from "SRC:/src/monitors/mediamonitor.h" +/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/moc_predefs.h -Muri=org.kde.pipewire.monitor --output-json --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/moc_mediamonitor.cpp /build/reproducible-path/kpipewire-6.3.4/src/monitors/mediamonitor.h +AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.moc", because it doesn't exist, from "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp" +/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/moc_predefs.h -Muri=org.kde.pipewire.monitor --output-json --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.moc /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp +AutoGen: Refreshing parse cache because it doesn't exist. AutoGen: Refreshing parse cache because it doesn't exist. AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/moc_predefs.h", because it doesn't exist. /usr/bin/c++ -std=c++20 -dM -E -c /usr/share/cmake-3.31/Modules/CMakeCXXCompilerABI.cpp -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu +AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireDmaBuf_autogen/moc_predefs.h", because it doesn't exist. +/usr/bin/c++ -std=c++20 -dM -E -c /usr/share/cmake-3.31/Modules/CMakeCXXCompilerABI.cpp -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDmaBuf_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu +AutoGen: Parsing "SRC:/src/kpipewiredeclarativeplugin.h" +AutoGen: Parsing "SRC:/src/kpipewiredeclarativeplugin.cpp" +AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include/moc_kpipewiredeclarativeplugin.cpp", because it doesn't exist, from "SRC:/src/kpipewiredeclarativeplugin.h" +/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/moc_predefs.h -Muri=org.kde.pipewire --output-json --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include/moc_kpipewiredeclarativeplugin.cpp /build/reproducible-path/kpipewire-6.3.4/src/kpipewiredeclarativeplugin.h AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging_dmabuf.h" -AutoGen: Parsing "SRC:/src/dmabufhandler.cpp" AutoGen: Parsing "SRC:/src/dmabufhandler.h" AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging_dmabuf.cpp" +AutoGen: Parsing "SRC:/src/dmabufhandler.cpp" AutoMoc: Generating MOC compilation "SRC:/obj-x86_64-linux-gnu/src/KPipeWireDmaBuf_autogen/mocs_compilation.cpp" AutoMoc: Merging MOC dependencies into "SRC:/obj-x86_64-linux-gnu/src/KPipeWireDmaBuf_autogen/deps" -AutoGen: Parsing "SRC:/src/kpipewiredeclarativeplugin.h" -AutoGen: Parsing "SRC:/src/kpipewiredeclarativeplugin.cpp" -AutoGen: Parsing "SRC:/src/monitors/mediamonitor.h" -AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp" -AutoGen: Parsing "SRC:/src/monitors/mediamonitor.cpp" -AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include/moc_kpipewiredeclarativeplugin.cpp", because it doesn't exist, from "SRC:/src/kpipewiredeclarativeplugin.h" -/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/moc_predefs.h -Muri=org.kde.pipewire --output-json --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include/moc_kpipewiredeclarativeplugin.cpp /build/reproducible-path/kpipewire-6.3.4/src/kpipewiredeclarativeplugin.h AutoGen: Writing the parse cache file "SRC:/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/ParseCache.txt" AutoGen: Writing the settings file "SRC:/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDmaBuf_autogen.dir/AutogenUsed.txt" -AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/moc_mediamonitor.cpp", because it doesn't exist, from "SRC:/src/monitors/mediamonitor.h" -/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/moc_predefs.h -Muri=org.kde.pipewire.monitor --output-json --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/moc_mediamonitor.cpp /build/reproducible-path/kpipewire-6.3.4/src/monitors/mediamonitor.h -AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.moc", because it doesn't exist, from "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp" -/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork -I/usr/include/x86_64-linux-gnu/qt6/QtQuick -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -I/usr/include/x86_64-linux-gnu/qt6/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/moc_predefs.h -Muri=org.kde.pipewire.monitor --output-json --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.moc /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E touch /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDmaBuf_autogen/timestamp make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' [ 22%] Built target KPipeWireDmaBuf_autogen @@ -2841,103 +2877,103 @@ make -f src/CMakeFiles/KPipeWireDmaBuf.dir/build.make src/CMakeFiles/KPipeWireDmaBuf.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' [ 24%] Building CXX object src/CMakeFiles/KPipeWireDmaBuf.dir/KPipeWireDmaBuf_autogen/mocs_compilation.cpp.o -[ 25%] Building CXX object src/CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDmaBuf_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDmaBuf_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireDmaBuf.dir/KPipeWireDmaBuf_autogen/mocs_compilation.cpp.o -MF CMakeFiles/KPipeWireDmaBuf.dir/KPipeWireDmaBuf_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/KPipeWireDmaBuf.dir/KPipeWireDmaBuf_autogen/mocs_compilation.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDmaBuf_autogen/mocs_compilation.cpp -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDmaBuf_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDmaBuf_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o -MF CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o.d -o CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/logging_dmabuf.cpp +[ 25%] Building CXX object src/CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o [ 26%] Building CXX object src/CMakeFiles/KPipeWireDmaBuf.dir/dmabufhandler.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDmaBuf_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDmaBuf_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o -MF CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o.d -o CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/logging_dmabuf.cpp cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDmaBuf_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDmaBuf_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireDmaBuf.dir/dmabufhandler.cpp.o -MF CMakeFiles/KPipeWireDmaBuf.dir/dmabufhandler.cpp.o.d -o CMakeFiles/KPipeWireDmaBuf.dir/dmabufhandler.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.cpp -AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/moc_mediamonitor.cpp.d" AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include/moc_kpipewiredeclarativeplugin.cpp.d" AutoMoc: Generating MOC compilation "SRC:/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/mocs_compilation.cpp" AutoMoc: Merging MOC dependencies into "SRC:/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/deps" AutoGen: Writing the parse cache file "SRC:/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative_autogen.dir/ParseCache.txt" AutoGen: Writing the settings file "SRC:/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative_autogen.dir/AutogenUsed.txt" cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E touch /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/timestamp -AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.moc.d" -AutoMoc: Generating MOC compilation "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp" -AutoMoc: Merging MOC dependencies into "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/deps" -AutoGen: Writing the parse cache file "SRC:/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/ParseCache.txt" -AutoGen: Writing the settings file "SRC:/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/AutogenUsed.txt" -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E touch /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/timestamp -make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' [ 26%] Built target KPipeWireDeclarative_autogen make -f src/CMakeFiles/KPipeWireDeclarative.dir/build.make src/CMakeFiles/KPipeWireDeclarative.dir/depend make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 26%] Built target KPipeWireMonitorDeclarative_autogen -make -f src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/build.make src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/depend -make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 28%] Running AUTOMOC file extraction for target KPipeWireDeclarative [ 29%] Running rcc for resource qmake_org_kde_pipewire +[ 28%] Running AUTOMOC file extraction for target KPipeWireDeclarative cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/lib/qt6/libexec/cmake_automoc_parser --cmake-autogen-cache-file /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative_autogen.dir/ParseCache.txt --cmake-autogen-info-file /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative_autogen.dir/AutogenInfo.json --output-file-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/KPipeWireDeclarative_json_file_list.txt --timestamp-file-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/KPipeWireDeclarative_json_file_list.txt.timestamp --cmake-autogen-include-dir-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/lib/qt6/libexec/rcc --output /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp --name qmake_org_kde_pipewire /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/rcc/qmake_org_kde_pipewire.qrc -[ 32%] Running AUTOMOC file extraction for target KPipeWireMonitorDeclarative -[ 32%] Running rcc for resource qmake_org_kde_pipewire_monitor -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/lib/qt6/libexec/rcc --output /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.cpp --name qmake_org_kde_pipewire_monitor /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/.qt/rcc/qmake_org_kde_pipewire_monitor.qrc -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/lib/qt6/libexec/cmake_automoc_parser --cmake-autogen-cache-file /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/ParseCache.txt --cmake-autogen-info-file /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/AutogenInfo.json --output-file-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/KPipeWireMonitorDeclarative_json_file_list.txt --timestamp-file-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/KPipeWireMonitorDeclarative_json_file_list.txt.timestamp --cmake-autogen-include-dir-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include -Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. -Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. -If this causes problems, reconfigure your locale. See the locale(1) manual -for more information. Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. -[ 33%] Running moc --collect-json for target KPipeWireDeclarative +[ 30%] Running moc --collect-json for target KPipeWireDeclarative cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/lib/qt6/libexec/moc -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/qt6kpipewiredeclarative_none_metatypes.json.gen --collect-json @/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/KPipeWireDeclarative_json_file_list.txt cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E copy_if_different /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/qt6kpipewiredeclarative_none_metatypes.json.gen /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/qt6kpipewiredeclarative_none_metatypes.json -[ 34%] Running moc --collect-json for target KPipeWireMonitorDeclarative -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/lib/qt6/libexec/moc -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/qt6kpipewiremonitordeclarative_none_metatypes.json.gen --collect-json @/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/KPipeWireMonitorDeclarative_json_file_list.txt -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E copy_if_different /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/qt6kpipewiremonitordeclarative_none_metatypes.json.gen /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/qt6kpipewiremonitordeclarative_none_metatypes.json -[ 36%] Generating meta_types/qt6kpipewiredeclarative_none_metatypes.json +[ 32%] Generating meta_types/qt6kpipewiredeclarative_none_metatypes.json cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E true -[ 37%] Generating meta_types/qt6kpipewiremonitordeclarative_none_metatypes.json -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E true -[ 38%] Automatic QML type registration for target KPipeWireDeclarative +[ 33%] Automatic QML type registration for target KPipeWireDeclarative cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/lib/qt6/libexec/qmltyperegistrar --generate-qmltypes=/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/bin/org/kde/pipewire/KPipeWireDeclarative.qmltypes --import-name=org.kde.pipewire --major-version=1 --minor-version=0 @/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/qmltypes/KPipeWireDeclarative_foreign_types.txt -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/kpipewiredeclarative_qmltyperegistrations.cpp /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/qt6kpipewiredeclarative_none_metatypes.json Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. -[ 40%] Automatic QML type registration for target KPipeWireMonitorDeclarative +AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.moc.d" +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E make_directory /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/qmltypes +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E touch /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/qmltypes/KPipeWireDeclarative.qmltypes +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative.dir/DependInfo.cmake "--color=" +Dependencies file "src/KPipeWireDeclarative_autogen/deps" is newer than depends file "/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative.dir/compiler_depend.internal". +Consolidate compiler generated dependencies of target KPipeWireDeclarative +make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/KPipeWireDeclarative.dir/build.make src/CMakeFiles/KPipeWireDeclarative.dir/build +make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +[ 34%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o -MF CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/mocs_compilation.cpp +[ 36%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o -MF CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o.d -o CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/kpipewiredeclarative_qmltyperegistrations.cpp +[ 37%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o -MF CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o.d -o CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp +AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include/moc_mediamonitor.cpp.d" +AutoMoc: Generating MOC compilation "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp" +AutoMoc: Merging MOC dependencies into "SRC:/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/deps" +[ 38%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o +AutoGen: Writing the parse cache file "SRC:/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/ParseCache.txt" +AutoGen: Writing the settings file "SRC:/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/AutogenUsed.txt" +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o -MF CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o.d -o CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/kpipewiredeclarativeplugin.cpp +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E touch /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/timestamp +make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +[ 38%] Built target KPipeWireMonitorDeclarative_autogen +make -f src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/build.make src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/depend +make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +[ 40%] Running AUTOMOC file extraction for target KPipeWireMonitorDeclarative +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/lib/qt6/libexec/cmake_automoc_parser --cmake-autogen-cache-file /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/ParseCache.txt --cmake-autogen-info-file /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative_autogen.dir/AutogenInfo.json --output-file-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/KPipeWireMonitorDeclarative_json_file_list.txt --timestamp-file-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/KPipeWireMonitorDeclarative_json_file_list.txt.timestamp --cmake-autogen-include-dir-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include +[ 41%] Running rcc for resource qmake_org_kde_pipewire_monitor +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/lib/qt6/libexec/rcc --output /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.cpp --name qmake_org_kde_pipewire_monitor /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/.qt/rcc/qmake_org_kde_pipewire_monitor.qrc +Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. +Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. +If this causes problems, reconfigure your locale. See the locale(1) manual +for more information. +[ 42%] Running moc --collect-json for target KPipeWireMonitorDeclarative +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/lib/qt6/libexec/moc -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/qt6kpipewiremonitordeclarative_none_metatypes.json.gen --collect-json @/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/KPipeWireMonitorDeclarative_json_file_list.txt +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E copy_if_different /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/qt6kpipewiremonitordeclarative_none_metatypes.json.gen /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/qt6kpipewiremonitordeclarative_none_metatypes.json +[ 44%] Generating meta_types/qt6kpipewiremonitordeclarative_none_metatypes.json +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E true +[ 45%] Automatic QML type registration for target KPipeWireMonitorDeclarative cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/lib/qt6/libexec/qmltyperegistrar --generate-qmltypes=/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/bin/org/kde/pipewire/monitor/KPipeWireMonitorDeclarative.qmltypes --import-name=org.kde.pipewire.monitor --major-version=1 --minor-version=0 @/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/qmltypes/KPipeWireMonitorDeclarative_foreign_types.txt -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/kpipewiremonitordeclarative_qmltyperegistrations.cpp /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/meta_types/qt6kpipewiremonitordeclarative_none_metatypes.json Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E make_directory /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/qmltypes cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E make_directory /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/.qt/qmltypes -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E touch /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/qmltypes/KPipeWireDeclarative.qmltypes cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E touch /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/.qt/qmltypes/KPipeWireMonitorDeclarative.qmltypes -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative.dir/DependInfo.cmake "--color=" cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src/monitors /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/DependInfo.cmake "--color=" -Dependencies file "src/KPipeWireDeclarative_autogen/deps" is newer than depends file "/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireDeclarative.dir/compiler_depend.internal". -Consolidate compiler generated dependencies of target KPipeWireDeclarative Dependencies file "src/monitors/KPipeWireMonitorDeclarative_autogen/deps" is newer than depends file "/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/compiler_depend.internal". -make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/KPipeWireDeclarative.dir/build.make src/CMakeFiles/KPipeWireDeclarative.dir/build -make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' Consolidate compiler generated dependencies of target KPipeWireMonitorDeclarative make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make -f src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/build.make src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 41%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o -MF CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/mocs_compilation.cpp -[ 44%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o -[ 44%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o -[ 45%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o -MF CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o.d -o CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o -MF CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o.d -o CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/kpipewiredeclarative_qmltyperegistrations.cpp -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o -MF CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o.d -o CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/kpipewiredeclarativeplugin.cpp -[ 46%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o -[ 48%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp.o -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o -MF CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp +[ 46%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp.o +[ 48%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp.o -MF CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp.o.d -o CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp -[ 50%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/kpipewiremonitordeclarative_qmltyperegistrations.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o -MF CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp +[ 49%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/kpipewiremonitordeclarative_qmltyperegistrations.cpp.o [ 50%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.cpp.o -[ 52%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/mediamonitor.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/kpipewiremonitordeclarative_qmltyperegistrations.cpp.o -MF CMakeFiles/KPipeWireMonitorDeclarative.dir/kpipewiremonitordeclarative_qmltyperegistrations.cpp.o.d -o CMakeFiles/KPipeWireMonitorDeclarative.dir/kpipewiremonitordeclarative_qmltyperegistrations.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/kpipewiremonitordeclarative_qmltyperegistrations.cpp cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.cpp.o -MF CMakeFiles/KPipeWireMonitorDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.cpp.o.d -o CMakeFiles/KPipeWireMonitorDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.cpp +[ 52%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/mediamonitor.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireMonitorDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/src/monitors -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors/KPipeWireMonitorDeclarative_autogen/include -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/mediamonitor.cpp.o -MF CMakeFiles/KPipeWireMonitorDeclarative.dir/mediamonitor.cpp.o.d -o CMakeFiles/KPipeWireMonitorDeclarative.dir/mediamonitor.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/monitors/mediamonitor.cpp In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, @@ -6398,9 +6434,6 @@ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ -At global scope: -cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics -cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -7603,7 +7636,6 @@ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ -[ 53%] Linking CXX shared library ../bin/libKPipeWireDmaBuf.so /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ @@ -7620,6 +7652,10 @@ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ +At global scope: +cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics +cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics +[ 53%] Linking CXX shared library ../bin/libKPipeWireDmaBuf.so cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/KPipeWireDmaBuf.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libKPipeWireDmaBuf.so.6 -o ../bin/libKPipeWireDmaBuf.so.6.3.4 CMakeFiles/KPipeWireDmaBuf.dir/KPipeWireDmaBuf_autogen/mocs_compilation.cpp.o CMakeFiles/KPipeWireDmaBuf.dir/dmabufhandler.cpp.o CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o -Wl,-rpath,/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/bin: ../bin/libKPipeWire.so.6.3.4 /usr/lib/x86_64-linux-gnu/libepoxy.so /usr/lib/x86_64-linux-gnu/libdrm.so /usr/lib/x86_64-linux-gnu/libgbm.so /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.2 /usr/lib/x86_64-linux-gnu/libxkbcommon.so cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library ../bin/libKPipeWireDmaBuf.so.6.3.4 ../bin/libKPipeWireDmaBuf.so.6 ../bin/libKPipeWireDmaBuf.so @@ -7646,70 +7682,78 @@ AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h", because it doesn't exist. /usr/bin/c++ -std=c++20 -dM -E -c /usr/share/cmake-3.31/Modules/CMakeCXXCompilerABI.cpp -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging_libav.h" -AutoGen: Parsing "SRC:/src/gifencoder.cpp" -AutoGen: Parsing "SRC:/src/h264vaapiencoder.cpp" +AutoGen: Parsing "SRC:/src/encoder_p.h" +AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging_record.h" +AutoGen: Parsing "SRC:/src/gifencoder_p.h" +AutoGen: Parsing "SRC:/src/libvpxvp9encoder_p.h" +AutoGen: Parsing "SRC:/src/libopenh264encoder_p.h" +AutoGen: Parsing "SRC:/src/libvpxencoder_p.h" AutoGen: Parsing "SRC:/src/libvpxencoder.cpp" AutoGen: Parsing "SRC:/src/libvpxvp9encoder.cpp" -AutoGen: Parsing "SRC:/src/libwebpencoder.cpp" +AutoGen: Parsing "SRC:/src/pipewireencodedstream.h" +AutoGen: Parsing "SRC:/src/pipewireproduce_p.h" AutoGen: Parsing "SRC:/src/libx264encoder_p.h" -AutoGen: Parsing "SRC:/src/libwebpencoder_p.h" -AutoGen: Parsing "SRC:/src/pipewireencodedstream_p.h" +AutoGen: Parsing "SRC:/src/libwebpencoder.cpp" AutoGen: Parsing "SRC:/src/libx264encoder.cpp" -AutoGen: Parsing "SRC:/src/pipewireproduce_p.h" -AutoGen: Parsing "SRC:/src/libopenh264encoder.cpp" -AutoGen: Parsing "SRC:/src/pipewirebaseencodedstream.h" -AutoGen: Parsing "SRC:/src/pipewirerecord_p.h" -AutoGen: Parsing "SRC:/src/pipewireencodedstream.cpp" -AutoGen: Parsing "SRC:/src/h264vaapiencoder_p.h" -AutoGen: Parsing "SRC:/src/encoder.cpp" -AutoGen: Parsing "SRC:/src/pipewireproduce.cpp" -AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging_record.h" +AutoGen: Parsing "SRC:/src/libwebpencoder_p.h" AutoGen: Parsing "SRC:/src/pipewirebaseencodedstream.cpp" -AutoGen: Parsing "SRC:/src/libvpxencoder_p.h" +AutoGen: Parsing "SRC:/src/pipewireencodedstream.cpp" +AutoGen: Parsing "SRC:/src/pipewireencodedstream_p.h" AutoGen: Parsing "SRC:/src/pipewirerecord.h" -AutoGen: Parsing "SRC:/src/encoder_p.h" -AutoGen: Parsing "SRC:/src/pipewireencodedstream.h" +AutoGen: Parsing "SRC:/src/pipewireproduce.cpp" AutoGen: Parsing "SRC:/src/pipewirerecord.cpp" +AutoGen: Parsing "SRC:/src/h264vaapiencoder_p.h" +AutoGen: Parsing "SRC:/src/pipewirebaseencodedstream.h" AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging_libav.cpp" -AutoGen: Parsing "SRC:/src/libvpxvp9encoder_p.h" -AutoGen: Parsing "SRC:/src/libopenh264encoder_p.h" AutoGen: Parsing "SRC:/obj-x86_64-linux-gnu/src/logging_record.cpp" -AutoGen: Parsing "SRC:/src/gifencoder_p.h" +AutoGen: Parsing "SRC:/src/encoder.cpp" +AutoGen: Parsing "SRC:/src/gifencoder.cpp" +AutoGen: Parsing "SRC:/src/h264vaapiencoder.cpp" +AutoGen: Parsing "SRC:/src/libopenh264encoder.cpp" +AutoGen: Parsing "SRC:/src/pipewirerecord_p.h" +AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_encoder_p.cpp", because it doesn't exist, from "SRC:/src/encoder_p.h" +/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_encoder_p.cpp /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h +AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirebaseencodedstream.cpp", because it doesn't exist, from "SRC:/src/pipewirebaseencodedstream.h" +/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirebaseencodedstream.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewirebaseencodedstream.h AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireencodedstream.cpp", because it doesn't exist, from "SRC:/src/pipewireencodedstream.h" /usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireencodedstream.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewireencodedstream.h AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireencodedstream_p.cpp", because it doesn't exist, from "SRC:/src/pipewireencodedstream_p.h" /usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireencodedstream_p.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewireencodedstream_p.h AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirerecord_p.cpp", because it doesn't exist, from "SRC:/src/pipewirerecord_p.h" /usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirerecord_p.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewirerecord_p.h -AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_encoder_p.cpp", because it doesn't exist, from "SRC:/src/encoder_p.h" -/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_encoder_p.cpp /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h -AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirebaseencodedstream.cpp", because it doesn't exist, from "SRC:/src/pipewirebaseencodedstream.h" -/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirebaseencodedstream.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewirebaseencodedstream.h -AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireproduce_p.cpp", because it doesn't exist, from "SRC:/src/pipewireproduce_p.h" -/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireproduce_p.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirerecord.cpp", because it doesn't exist, from "SRC:/src/pipewirerecord.h" /usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirerecord.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewirerecord.h -AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirerecord.cpp.d" -AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirebaseencodedstream.cpp.d" -AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireencodedstream.cpp.d" +AutoMoc: Generating "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireproduce_p.cpp", because it doesn't exist, from "SRC:/src/pipewireproduce_p.h" +/usr/lib/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/KF6/KCoreAddons -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14 -I/usr/include/c++/14/backward -I/usr/lib/gcc/x86_64-linux-gnu/14/include -I/usr/local/include --include /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/moc_predefs.h --output-dep-file -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireproduce_p.cpp /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h +cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics +cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics [ 57%] Linking CXX shared module ../bin/org/kde/pipewire/libKPipeWireDeclarative.so cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/KPipeWireDeclarative.dir/link.txt --verbose=1 -cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics -cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics +[ 58%] Linking CXX shared module ../../bin/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E cmake_link_script CMakeFiles/KPipeWireMonitorDeclarative.dir/link.txt --verbose=1 +AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireencodedstream.cpp.d" +AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirebaseencodedstream.cpp.d" +AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirerecord.cpp.d" +/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -shared -o ../../bin/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp.o CMakeFiles/KPipeWireMonitorDeclarative.dir/kpipewiremonitordeclarative_qmltyperegistrations.cpp.o CMakeFiles/KPipeWireMonitorDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.cpp.o CMakeFiles/KPipeWireMonitorDeclarative.dir/mediamonitor.cpp.o -Wl,-rpath,/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/bin: ../../bin/libKPipeWire.so.6.3.4 /usr/lib/x86_64-linux-gnu/libpipewire-0.3.so /usr/lib/x86_64-linux-gnu/libQt6Quick.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlMeta.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlWorkerScript.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlModels.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Qml.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Network.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6OpenGL.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.2 +make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +[ 60%] Built target KPipeWireMonitorDeclarative +AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_encoder_p.cpp.d" AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireproduce_p.cpp.d" +/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -shared -o ../bin/org/kde/pipewire/libKPipeWireDeclarative.so CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o -Wl,-rpath,/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/bin: ../bin/libKPipeWire.so.6.3.4 /usr/lib/x86_64-linux-gnu/libQt6Quick.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlMeta.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlWorkerScript.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlModels.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Qml.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Network.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6OpenGL.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.2 +make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' +[ 61%] Built target KPipeWireDeclarative AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewirerecord_p.cpp.d" AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_pipewireencodedstream_p.cpp.d" -AutoMoc: Reading dependencies from "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include/moc_encoder_p.cpp.d" AutoMoc: Generating MOC compilation "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/mocs_compilation.cpp" AutoMoc: Merging MOC dependencies into "SRC:/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/deps" AutoGen: Writing the parse cache file "SRC:/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireRecord_autogen.dir/ParseCache.txt" AutoGen: Writing the settings file "SRC:/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireRecord_autogen.dir/AutogenUsed.txt" cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E touch /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/timestamp make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 57%] Built target KPipeWireRecord_autogen +[ 61%] Built target KPipeWireRecord_autogen make -f src/CMakeFiles/KPipeWireRecord.dir/build.make src/CMakeFiles/KPipeWireRecord.dir/depend make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/kpipewire-6.3.4 /build/reproducible-path/kpipewire-6.3.4/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireRecord.dir/DependInfo.cmake "--color=" @@ -7718,50 +7762,43 @@ make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' make -f src/CMakeFiles/KPipeWireRecord.dir/build.make src/CMakeFiles/KPipeWireRecord.dir/build make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 58%] Linking CXX shared module ../../bin/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/monitors && /usr/bin/cmake -E cmake_link_script CMakeFiles/KPipeWireMonitorDeclarative.dir/link.txt --verbose=1 -[ 60%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o -[ 61%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/KPipeWireRecord_autogen/mocs_compilation.cpp.o -[ 62%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/logging_libav.cpp.o -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/logging_record.cpp +[ 62%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/KPipeWireRecord_autogen/mocs_compilation.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/KPipeWireRecord_autogen/mocs_compilation.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/KPipeWireRecord_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/KPipeWireRecord_autogen/mocs_compilation.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/mocs_compilation.cpp +[ 64%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/logging_libav.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/logging_libav.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/logging_libav.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/logging_libav.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/logging_libav.cpp -[ 69%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewirerecord.cpp.o -[ 69%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewireproduce.cpp.o -[ 69%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewirebaseencodedstream.cpp.o -[ 69%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/encoder.cpp.o -[ 69%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewireencodedstream.cpp.o -[ 70%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/gifencoder.cpp.o -[ 72%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/h264vaapiencoder.cpp.o -[ 73%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libx264encoder.cpp.o -[ 74%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libopenh264encoder.cpp.o -[ 76%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o +[ 65%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewirebaseencodedstream.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/pipewirebaseencodedstream.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/pipewirebaseencodedstream.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/pipewirebaseencodedstream.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/pipewirebaseencodedstream.cpp -[ 77%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o +[ 66%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/logging_record.cpp +[ 68%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewireencodedstream.cpp.o +[ 69%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewirerecord.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/pipewireencodedstream.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/pipewireencodedstream.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/pipewireencodedstream.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/pipewireencodedstream.cpp +[ 70%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewireproduce.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/pipewirerecord.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/pipewirerecord.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/pipewirerecord.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/pipewirerecord.cpp cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/pipewireproduce.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/pipewireproduce.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/pipewireproduce.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce.cpp -[ 78%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o +[ 72%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/gifencoder.cpp.o +[ 73%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/encoder.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/encoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/encoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/encoder.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/encoder.cpp cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/gifencoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/gifencoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/gifencoder.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/gifencoder.cpp +[ 74%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/h264vaapiencoder.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/h264vaapiencoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/h264vaapiencoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/h264vaapiencoder.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/h264vaapiencoder.cpp +[ 76%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libx264encoder.cpp.o +[ 77%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libopenh264encoder.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/libx264encoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/libx264encoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/libx264encoder.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/libx264encoder.cpp cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/libopenh264encoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/libopenh264encoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/libopenh264encoder.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/libopenh264encoder.cpp -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/libvpxencoder.cpp +[ 78%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/libvpxvp9encoder.cpp +[ 80%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/libvpxencoder.cpp +[ 81%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/libdrm -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui/6.8.2/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/libwebpencoder.cpp -/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -shared -o ../bin/org/kde/pipewire/libKPipeWireDeclarative.so CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o -Wl,-rpath,/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/bin: ../bin/libKPipeWire.so.6.3.4 /usr/lib/x86_64-linux-gnu/libQt6Quick.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlMeta.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlWorkerScript.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlModels.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Qml.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Network.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6OpenGL.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.2 -make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 80%] Built target KPipeWireDeclarative -/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -shared -o ../../bin/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp.o CMakeFiles/KPipeWireMonitorDeclarative.dir/kpipewiremonitordeclarative_qmltyperegistrations.cpp.o CMakeFiles/KPipeWireMonitorDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.cpp.o CMakeFiles/KPipeWireMonitorDeclarative.dir/mediamonitor.cpp.o -Wl,-rpath,/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/bin: ../../bin/libKPipeWire.so.6.3.4 /usr/lib/x86_64-linux-gnu/libpipewire-0.3.so /usr/lib/x86_64-linux-gnu/libQt6Quick.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlMeta.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlWorkerScript.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlModels.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Qml.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Network.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6OpenGL.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.2 -make[3]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 81%] Built target KPipeWireMonitorDeclarative In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:13, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireencodedstream_p.h:10, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireencodedstream.cpp:8: + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, + from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, + from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, + from /build/reproducible-path/kpipewire-6.3.4/src/encoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) @@ -7840,8 +7877,11 @@ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:13, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce.cpp:7: + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, + from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, + from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, + from /build/reproducible-path/kpipewire-6.3.4/src/libvpxencoder_p.h:9, + from /build/reproducible-path/kpipewire-6.3.4/src/libvpxencoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) @@ -7856,6 +7896,13 @@ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' + 392 | buf->pos += SPA_MIN(remain, (size_t)written); + | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) @@ -7888,13 +7935,6 @@ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' - 392 | buf->pos += SPA_MIN(remain, (size_t)written); - | ^~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ @@ -7950,6 +7990,13 @@ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' + 392 | buf->pos += SPA_MIN(remain, (size_t)written); + | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -8000,13 +8047,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' - 392 | buf->pos += SPA_MIN(remain, (size_t)written); - | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -8045,63 +8085,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -8121,25 +8104,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -8159,13 +8123,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -8182,18 +8139,6 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ @@ -8235,25 +8180,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -8261,13 +8187,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -8280,25 +8199,13 @@ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -8318,25 +8225,18 @@ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ @@ -8344,18 +8244,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -8368,25 +8256,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -8406,25 +8275,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -8444,25 +8294,13 @@ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -8482,44 +8320,25 @@ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -8527,13 +8346,6 @@ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -8546,18 +8358,6 @@ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -8577,13 +8377,6 @@ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -8600,18 +8393,6 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ @@ -8622,13 +8403,6 @@ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -8641,18 +8415,6 @@ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -8679,13 +8441,18 @@ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -8698,18 +8465,6 @@ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -8729,13 +8484,6 @@ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -8752,18 +8500,6 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ @@ -8774,13 +8510,6 @@ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -8809,18 +8538,6 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ @@ -8831,13 +8548,6 @@ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -8850,18 +8560,6 @@ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -8881,13 +8579,6 @@ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -8895,6 +8586,44 @@ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -8907,18 +8636,6 @@ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -8938,13 +8655,6 @@ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -8961,18 +8671,6 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ @@ -8983,13 +8681,6 @@ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -9002,18 +8693,6 @@ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -9059,13 +8738,6 @@ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -9078,18 +8750,6 @@ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -9128,25 +8788,6 @@ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -9154,44 +8795,89 @@ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -9201,8 +8887,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -9237,13 +8923,6 @@ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' - 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -9263,13 +8942,6 @@ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' - 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ @@ -9277,13 +8949,6 @@ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -9296,18 +8961,6 @@ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ @@ -9327,13 +8980,18 @@ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ @@ -9350,21 +9008,104 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -9372,13 +9113,6 @@ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -9391,18 +9125,6 @@ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -9422,13 +9144,6 @@ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -9448,62 +9163,12 @@ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -9514,15 +9179,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -9533,8 +9198,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -9562,13 +9227,6 @@ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -9581,18 +9239,6 @@ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -9612,6 +9258,32 @@ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -9650,25 +9322,6 @@ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -9688,25 +9341,6 @@ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -9714,25 +9348,25 @@ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -9742,8 +9376,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -9771,13 +9405,6 @@ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -9790,24 +9417,119 @@ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -9818,15 +9540,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -9837,15 +9559,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -9856,15 +9578,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -9875,34 +9597,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -9913,15 +9616,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -9932,13 +9642,6 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ @@ -9951,8 +9654,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -9992,6 +9695,13 @@ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' + 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': @@ -10022,12 +9732,19 @@ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' + 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -10038,9 +9755,54 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ @@ -10051,31 +9813,12 @@ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ @@ -10094,12 +9837,24 @@ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -10110,9 +9865,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ @@ -10122,25 +9884,6 @@ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ @@ -10159,12 +9902,33 @@ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -10175,18 +9939,28 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ @@ -10199,36 +9973,32 @@ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ -In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': -/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' - 54 | *iter = SPA_JSON_INIT(data, size); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' - 60 | *sub = SPA_JSON_ENTER(iter); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] - 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' - 67 | *save = SPA_JSON_SAVE(iter); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': -/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] - 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' - 74 | *sub = SPA_JSON_START(iter,pos); - | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ @@ -10269,92 +10039,155 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' - 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); - | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' - 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 250 | case 240 ... 247: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 253 | case 224 ... 239: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 256 | case 192 ... 223: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 267 | case 128 ... 191: - | ^~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -10431,50 +10264,6 @@ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': -/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 159 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': -/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] - 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; - | ^~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -10551,6 +10340,32 @@ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -10589,6 +10404,18 @@ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -10608,12 +10435,12 @@ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -10624,15 +10451,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -10643,22 +10470,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -10669,8 +10496,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -10681,22 +10515,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -10707,6 +10534,13 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ @@ -10719,16 +10553,25 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': +/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' + 54 | *iter = SPA_JSON_INIT(data, size); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' + 60 | *sub = SPA_JSON_ENTER(iter); + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -10738,15 +10581,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -10757,8 +10600,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -10779,13 +10622,6 @@ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -10802,18 +10638,6 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ @@ -10824,6 +10648,36 @@ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] + 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' + 67 | *save = SPA_JSON_SAVE(iter); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': +/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] + 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' + 74 | *sub = SPA_JSON_START(iter,pos); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' + 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -10874,6 +10728,33 @@ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' + 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -10881,13 +10762,6 @@ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -10900,37 +10774,6 @@ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ @@ -10941,25 +10784,45 @@ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 250 | case 240 ... 247: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 253 | case 224 ... 239: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 256 | case 192 ... 223: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 267 | case 128 ... 191: + | ^~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ @@ -10979,25 +10842,6 @@ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -11005,13 +10849,6 @@ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -11024,82 +10861,46 @@ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': +/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 159 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -11116,40 +10917,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -11169,13 +10939,6 @@ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -11192,18 +10955,6 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ @@ -11226,12 +10977,12 @@ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11242,15 +10993,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11261,22 +11012,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11287,8 +11031,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11299,15 +11050,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11318,16 +11069,27 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': +/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] + 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; + | ^~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -11337,23 +11099,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -11363,34 +11111,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11401,8 +11137,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11413,34 +11149,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11451,15 +11168,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11470,25 +11194,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' - 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11499,15 +11213,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11518,25 +11225,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' - 273 | if (!spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11547,24 +11244,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11575,15 +11263,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11594,15 +11282,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11613,15 +11301,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11632,15 +11320,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11651,15 +11339,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11670,8 +11358,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -11680,12 +11368,12 @@ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11696,22 +11384,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' - 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); - | ^~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11722,15 +11403,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11741,15 +11422,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' + 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); + | ^~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11760,24 +11448,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:14: -/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] - 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' - 49 | *parser = SPA_POD_PARSER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11788,15 +11467,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11807,15 +11486,24 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': +In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: +/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] + 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' + 49 | *parser = SPA_POD_PARSER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11826,15 +11514,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11845,15 +11533,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11864,15 +11571,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -11883,9 +11609,29 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' + 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' + 273 | if (!spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ @@ -11902,6 +11648,34 @@ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) @@ -11911,7 +11685,7 @@ | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:16: + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) @@ -11926,6 +11700,13 @@ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ @@ -11933,6 +11714,25 @@ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) @@ -11943,6 +11743,25 @@ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) @@ -11956,6 +11775,25 @@ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) @@ -11970,6 +11808,18 @@ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) @@ -11977,6 +11827,25 @@ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) @@ -11984,6 +11853,13 @@ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) @@ -11998,13 +11874,18 @@ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' - 345 | n_values = SPA_MIN(n_values, max_values); - | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) @@ -12012,6 +11893,13 @@ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) @@ -12019,13 +11907,25 @@ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' - 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); - | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) @@ -12040,6 +11940,25 @@ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) @@ -12050,6 +11969,18 @@ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ @@ -12086,15 +12017,6 @@ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:14: -/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] - 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' - 49 | *parser = SPA_POD_PARSER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) @@ -12102,6 +12024,63 @@ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ @@ -12109,6 +12088,13 @@ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ @@ -12118,6 +12104,37 @@ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ @@ -12166,6 +12183,29 @@ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' + 345 | n_values = SPA_MIN(n_values, max_values); + | ^~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' + 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); + | ^~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: +/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] + 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' + 49 | *parser = SPA_POD_PARSER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ @@ -12191,7 +12231,7 @@ | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:16: + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) @@ -12426,8 +12466,10 @@ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:13, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewirebaseencodedstream.cpp:20: + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, + from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, + from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewirerecord.cpp:8: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) @@ -12503,64 +12545,6 @@ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, - from /usr/include/spa-0.2/spa/support/plugin.h:15, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, - from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, - from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, - from /build/reproducible-path/kpipewire-6.3.4/src/libwebpencoder_p.h:6, - from /build/reproducible-path/kpipewire-6.3.4/src/libwebpencoder.cpp:10: -/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': -/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] - 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) - | ^ -/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' - 41 | *list = SPA_LIST_INIT(list); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, - from /usr/include/spa-0.2/spa/support/plugin.h:15, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, - from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, - from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, - from /build/reproducible-path/kpipewire-6.3.4/src/h264vaapiencoder_p.h:9, - from /build/reproducible-path/kpipewire-6.3.4/src/h264vaapiencoder.cpp:9: -/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': -/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] - 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) - | ^ -/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' - 41 | *list = SPA_LIST_INIT(list); - | ^~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, - from /usr/include/spa-0.2/spa/support/plugin.h:15, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, - from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, - from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewirerecord.cpp:8: -/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': -/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] - 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) - | ^ -/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' - 41 | *list = SPA_LIST_INIT(list); - | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ @@ -12568,206 +12552,6 @@ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: -/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': -/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] - 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) - | ^ -/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' - 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' - 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' - 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' - 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); - | ^~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: -/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': -/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] - 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) - | ^ -/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' - 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' - 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, - from /usr/include/spa-0.2/spa/support/plugin.h:15, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, - from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, - from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, - from /build/reproducible-path/kpipewire-6.3.4/src/gifencoder_p.h:6, - from /build/reproducible-path/kpipewire-6.3.4/src/gifencoder.cpp:10: -/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': -/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] - 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) - | ^ -/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' - 41 | *list = SPA_LIST_INIT(list); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' - 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' - 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); - | ^~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: -/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': -/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] - 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) - | ^ -/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' - 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' - 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' - 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' - 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' - 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' - 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' - 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' - 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' - 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, - | ^~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: -/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': -/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 285 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' - 120 | alloc = SPA_ROUND_UP(need, arr->extend); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' - 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, - | ^~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: -/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': -/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] - 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) - | ^ -/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' - 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' - 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' - 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); - | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -12787,28 +12571,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' - 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' - 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); - | ^~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: -/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': -/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 285 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' - 120 | alloc = SPA_ROUND_UP(need, arr->extend); - | ^~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -12828,20 +12590,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' - 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' - 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, - | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -12861,13 +12609,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' - 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); - | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -12887,21 +12628,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: -/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': -/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 285 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' - 120 | alloc = SPA_ROUND_UP(need, arr->extend); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' - 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, - | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -12921,13 +12647,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' - 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, - | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -12954,14 +12673,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: -/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': -/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 285 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' - 120 | alloc = SPA_ROUND_UP(need, arr->extend); - | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -13012,13 +12723,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' - 392 | buf->pos += SPA_MIN(remain, (size_t)written); - | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -13038,13 +12742,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' - 392 | buf->pos += SPA_MIN(remain, (size_t)written); - | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -13064,21 +12761,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, - from /usr/include/spa-0.2/spa/support/plugin.h:15, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, - from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, - from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, - from /build/reproducible-path/kpipewire-6.3.4/src/libvpxvp9encoder_p.h:10, - from /build/reproducible-path/kpipewire-6.3.4/src/libvpxvp9encoder.cpp:10: -/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': -/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] - 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) - | ^ -/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' - 41 | *list = SPA_LIST_INIT(list); - | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13086,28 +12768,6 @@ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, - from /usr/include/spa-0.2/spa/support/plugin.h:15, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, - from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, - from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, - from /build/reproducible-path/kpipewire-6.3.4/src/libx264encoder_p.h:9, - from /build/reproducible-path/kpipewire-6.3.4/src/libx264encoder.cpp:9: -/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': -/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] - 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) - | ^ -/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' - 41 | *list = SPA_LIST_INIT(list); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' - 392 | buf->pos += SPA_MIN(remain, (size_t)written); - | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13139,13 +12799,6 @@ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13172,13 +12825,6 @@ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13191,13 +12837,6 @@ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13217,13 +12856,6 @@ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13250,13 +12882,6 @@ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' - 392 | buf->pos += SPA_MIN(remain, (size_t)written); - | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13276,17 +12901,6 @@ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: -/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': -/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] - 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) - | ^ -/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' - 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' - 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13299,25 +12913,6 @@ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13344,24 +12939,6 @@ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: -/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': -/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] - 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) - | ^ -/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' - 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' - 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' - 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13374,20 +12951,6 @@ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13395,30 +12958,6 @@ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13431,13 +12970,6 @@ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' - 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13445,13 +12977,6 @@ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' - 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13464,44 +12989,6 @@ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13521,13 +13008,6 @@ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' - 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13535,13 +13015,6 @@ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13554,32 +13027,6 @@ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' - 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13587,25 +13034,6 @@ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13618,18 +13046,6 @@ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -13637,20 +13053,6 @@ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' - 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13663,15 +13065,72 @@ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' - 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) @@ -13679,23 +13138,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -13705,56 +13157,68 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' - 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, - | ^~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' - 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' + 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' + 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -13764,8 +13228,72 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -13776,35 +13304,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' - 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -13814,22 +13323,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -13840,8 +13342,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -13852,23 +13361,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: -/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': -/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 285 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' - 120 | alloc = SPA_ROUND_UP(need, arr->extend); - | ^~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -13879,15 +13380,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -13898,22 +13399,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -13924,15 +13418,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -13943,15 +13437,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -13962,8 +13456,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -13974,24 +13475,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: -/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': -/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 285 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' - 120 | alloc = SPA_ROUND_UP(need, arr->extend); - | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14001,30 +13494,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14034,9 +13513,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -14046,34 +13532,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14084,8 +13570,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14096,29 +13589,231 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, + | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': +/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' + 54 | *iter = SPA_JSON_INIT(data, size); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' + 60 | *sub = SPA_JSON_ENTER(iter); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] + 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' + 67 | *save = SPA_JSON_SAVE(iter); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': +/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] + 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' + 74 | *sub = SPA_JSON_START(iter,pos); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' + 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' + 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 250 | case 240 ... 247: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 253 | case 224 ... 239: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 256 | case 192 ... 223: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 267 | case 128 ... 191: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': +/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 159 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': +/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] + 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; + | ^~~~ +In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, + from /usr/include/spa-0.2/spa/support/plugin.h:15, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, + from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, + from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, + from /build/reproducible-path/kpipewire-6.3.4/src/libopenh264encoder_p.h:10, + from /build/reproducible-path/kpipewire-6.3.4/src/libopenh264encoder.cpp:10: +/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': +/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] + 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) + | ^ +/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' + 41 | *list = SPA_LIST_INIT(list); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14129,16 +13824,49 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, + from /usr/include/spa-0.2/spa/support/plugin.h:15, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, + from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, + from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, + from /build/reproducible-path/kpipewire-6.3.4/src/libvpxvp9encoder_p.h:10, + from /build/reproducible-path/kpipewire-6.3.4/src/libvpxvp9encoder.cpp:10: +/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': +/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] + 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) + | ^ +/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' + 41 | *list = SPA_LIST_INIT(list); + | ^~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: +/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': +/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] + 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) + | ^ +/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' + 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' + 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); + | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14148,8 +13876,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14160,9 +13895,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14172,16 +13921,91 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' + 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' + 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); + | ^~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: +/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': +/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] + 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) + | ^ +/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' + 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' + 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' + 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' + 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' + 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' + 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' + 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: +/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': +/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 285 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' + 120 | alloc = SPA_ROUND_UP(need, arr->extend); + | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14191,29 +14015,95 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' + 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' + 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' + 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, + | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, + from /usr/include/spa-0.2/spa/support/plugin.h:15, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:13, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireencodedstream_p.h:10, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireencodedstream.cpp:8: +/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': +/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] + 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) + | ^ +/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' + 41 | *list = SPA_LIST_INIT(list); + | ^~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: +/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': +/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 285 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' + 120 | alloc = SPA_ROUND_UP(need, arr->extend); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14224,8 +14114,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14236,8 +14140,33 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: +/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': +/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] + 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) + | ^ +/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' + 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' + 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14248,29 +14177,48 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' - 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' + 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' + 392 | buf->pos += SPA_MIN(remain, (size_t)written); + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14281,23 +14229,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' - 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14307,8 +14248,29 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' + 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' + 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14319,15 +14281,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14338,23 +14300,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' + 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' + 392 | buf->pos += SPA_MIN(remain, (size_t)written); + | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14364,27 +14333,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' + 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14395,42 +14359,81 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: +/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': +/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 285 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' + 120 | alloc = SPA_ROUND_UP(need, arr->extend); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -14440,9 +14443,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14452,49 +14462,242 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' + 392 | buf->pos += SPA_MIN(remain, (size_t)written); + | ^~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ +/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' + 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' + 273 | if (!spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14504,61 +14707,92 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -14568,33 +14802,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14604,16 +14821,28 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ @@ -14621,32 +14850,6 @@ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -14659,18 +14862,13 @@ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14680,16 +14878,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -14697,25 +14888,51 @@ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -14725,41 +14942,122 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' - 392 | buf->pos += SPA_MIN(remain, (size_t)written); - | ^~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -14770,15 +15068,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -14789,16 +15087,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -14808,28 +15106,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -14839,35 +15125,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -14877,15 +15151,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -14896,15 +15170,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -14915,29 +15189,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' - 392 | buf->pos += SPA_MIN(remain, (size_t)written); - | ^~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -14948,8 +15215,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -14960,29 +15227,41 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -14993,16 +15272,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -15015,6 +15294,13 @@ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -15024,9 +15310,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -15036,30 +15329,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -15069,16 +15348,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -15088,20 +15360,27 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15112,30 +15391,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -15145,27 +15410,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15176,27 +15429,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15207,37 +15448,37 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -15247,8 +15488,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -15259,20 +15500,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15283,30 +15519,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -15314,42 +15536,18 @@ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -15362,20 +15560,6 @@ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -15385,15 +15569,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15404,22 +15588,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15430,15 +15626,27 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15449,8 +15657,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15461,15 +15676,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15480,29 +15695,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15513,28 +15721,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -15544,8 +15740,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15556,8 +15759,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15571,20 +15781,6 @@ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -15592,25 +15788,6 @@ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -15623,37 +15800,13 @@ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -15663,73 +15816,35 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -15739,43 +15854,53 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -15786,8 +15911,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15798,20 +15923,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15822,49 +15942,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -15874,8 +15961,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15886,8 +15980,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -15898,22 +15999,65 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -15931,16 +16075,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -15950,23 +16094,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -15976,9 +16113,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -15988,8 +16139,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -16000,6 +16151,13 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ @@ -16012,8 +16170,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -16024,62 +16189,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -16090,8 +16215,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -16102,32 +16227,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -16141,27 +16256,13 @@ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -16171,87 +16272,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': +/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' + 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -16261,8 +16298,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -16273,6 +16317,13 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ @@ -16285,8 +16336,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -16297,8 +16348,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -16309,35 +16367,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -16347,36 +16386,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -16387,33 +16405,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -16423,49 +16424,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' - 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); +/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' + 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -16475,9 +16450,56 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' + 345 | n_values = SPA_MIN(n_values, max_values); + | ^~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' + 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); + | ^~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' + 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ @@ -16485,32 +16507,13 @@ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -16520,23 +16523,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -16546,35 +16542,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -16584,46 +16561,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -16634,8 +16599,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -16646,30 +16618,37 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': +In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: +/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] + 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' + 49 | *parser = SPA_POD_PARSER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -16679,9 +16658,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -16691,28 +16677,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -16722,37 +16696,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' - 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -16762,54 +16722,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' - 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -16819,21 +16741,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ @@ -16841,20 +16751,6 @@ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -16867,6 +16763,13 @@ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -16876,16 +16779,73 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -16895,8 +16855,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -16907,42 +16874,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -16952,8 +16893,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -16967,26 +16915,31 @@ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -16997,47 +16950,63 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -17047,15 +17016,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17066,16 +17035,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17085,42 +17054,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17130,8 +17073,29 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17142,8 +17106,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17154,29 +17125,58 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, + from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] + 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' + 87 | *builder = SPA_POD_BUILDER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' + 140 | spa_callbacks_call_res(&builder->callbacks, + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17187,16 +17187,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17209,6 +17209,13 @@ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' + 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17218,9 +17225,254 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' + 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' + 220 | const struct spa_pod p = SPA_POD_INIT_None(); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' + 226 | const struct spa_pod p = SPA_POD_INIT(size,type); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' + 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': +/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' + 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] + 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' + 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' + 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' + 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': +/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] + 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' + 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' + 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' + 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': +/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] + 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' + 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] + 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' + 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] + 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' + 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -17230,22 +17482,41 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': +/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] + 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' + 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17256,8 +17527,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] + 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' + 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17268,9 +17553,119 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] + 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': +/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' + 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] + 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' + 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' + 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -17278,6 +17673,198 @@ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, + from /usr/include/spa-0.2/spa/support/plugin.h:15, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, + from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, + from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, + from /build/reproducible-path/kpipewire-6.3.4/src/h264vaapiencoder_p.h:9, + from /build/reproducible-path/kpipewire-6.3.4/src/h264vaapiencoder.cpp:9: +/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': +/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] + 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) + | ^ +/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' + 41 | *list = SPA_LIST_INIT(list); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: +/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': +/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] + 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) + | ^ +/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' + 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' + 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -17294,8 +17881,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17306,23 +17900,42 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' + 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); + | ^~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' - 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' + 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); + | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -17330,12 +17943,24 @@ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17346,9 +17971,37 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' + 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' + 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' + 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17358,8 +18011,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17370,49 +18030,50 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' - 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: +/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': +/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 285 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' + 120 | alloc = SPA_ROUND_UP(need, arr->extend); + | ^~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17422,21 +18083,235 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': +/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' + 54 | *iter = SPA_JSON_INIT(data, size); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' + 60 | *sub = SPA_JSON_ENTER(iter); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] + 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' + 67 | *save = SPA_JSON_SAVE(iter); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': +/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] + 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' + 74 | *sub = SPA_JSON_START(iter,pos); + | ^~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' + 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' + 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' + 392 | buf->pos += SPA_MIN(remain, (size_t)written); + | ^~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -17444,27 +18319,175 @@ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 250 | case 240 ... 247: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 253 | case 224 ... 239: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 256 | case 192 ... 223: + | ^~~~ +In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': +/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' + 54 | *iter = SPA_JSON_INIT(data, size); + | ^~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' + 60 | *sub = SPA_JSON_ENTER(iter); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] + 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' + 67 | *save = SPA_JSON_SAVE(iter); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': +/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] + 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' + 74 | *sub = SPA_JSON_START(iter,pos); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' + 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' + 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 267 | case 128 ... 191: + | ^~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17474,16 +18497,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' - 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17493,8 +18516,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17505,27 +18535,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17536,16 +18573,125 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, + from /usr/include/spa-0.2/spa/support/plugin.h:15, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:13, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewirebaseencodedstream.cpp:20: +/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': +/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] + 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) + | ^ +/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' + 41 | *list = SPA_LIST_INIT(list); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': +/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 159 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': +/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] + 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; + | ^~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -17553,25 +18699,6 @@ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17584,27 +18711,286 @@ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': +/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' + 54 | *iter = SPA_JSON_INIT(data, size); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' + 60 | *sub = SPA_JSON_ENTER(iter); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 250 | case 240 ... 247: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 253 | case 224 ... 239: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 256 | case 192 ... 223: + | ^~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: +/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': +/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] + 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) + | ^ +/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' + 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' + 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' + 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] + 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' + 67 | *save = SPA_JSON_SAVE(iter); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': +/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] + 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' + 74 | *sub = SPA_JSON_START(iter,pos); + | ^~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' + 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 267 | case 128 ... 191: + | ^~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' + 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' + 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' + 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, + | ^~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': +/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 159 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' + 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' + 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: +/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': +/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 285 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' + 120 | alloc = SPA_ROUND_UP(need, arr->extend); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' - 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -17614,40 +19000,45 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': +/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] + 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; + | ^~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, + | ^~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17657,37 +19048,423 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 250 | case 240 ... 247: + | ^~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 253 | case 224 ... 239: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 256 | case 192 ... 223: + | ^~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 267 | case 128 ... 191: + | ^~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' + 392 | buf->pos += SPA_MIN(remain, (size_t)written); + | ^~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': +/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 159 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': +/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] + 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; + | ^~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -17697,9 +19474,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17709,8 +19500,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -17721,25 +19519,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': -/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' - 54 | *iter = SPA_JSON_INIT(data, size); - | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -17749,21 +19531,28 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -17771,20 +19560,13 @@ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' - 60 | *sub = SPA_JSON_ENTER(iter); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17794,8 +19576,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -17809,34 +19591,32 @@ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] - 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' - 67 | *save = SPA_JSON_SAVE(iter); - | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -17844,13 +19624,18 @@ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -17860,9 +19645,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17872,28 +19664,61 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': -/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] - 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' - 74 | *sub = SPA_JSON_START(iter,pos); - | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -17903,42 +19728,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, - from /usr/include/spa-0.2/spa/support/plugin.h:15, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, - from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, - from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, - from /build/reproducible-path/kpipewire-6.3.4/src/encoder.cpp:9: -/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': -/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] - 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) - | ^ -/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' - 41 | *list = SPA_LIST_INIT(list); - | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -17948,30 +19754,21 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -17984,44 +19781,20 @@ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -18031,8 +19804,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -18043,8 +19816,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -18053,19 +19833,43 @@ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18079,18 +19883,13 @@ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -18100,8 +19899,27 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -18110,37 +19928,44 @@ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18153,24 +19978,95 @@ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -18181,8 +20077,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18193,8 +20089,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18205,29 +20115,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -18238,30 +20141,28 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18271,9 +20172,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18283,8 +20198,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -18295,54 +20210,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' - 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -18353,8 +20248,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18365,25 +20260,35 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' - 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); - | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -18393,16 +20298,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18412,9 +20324,21 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -18431,9 +20355,35 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18443,18 +20393,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -18462,12 +20403,12 @@ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18490,30 +20431,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18523,55 +20443,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18582,27 +20481,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: -/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': -/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] - 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) - | ^ -/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' - 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' - 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -18612,8 +20507,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18624,22 +20519,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18650,8 +20538,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18665,41 +20560,13 @@ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18709,23 +20576,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18735,16 +20595,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' - 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -18752,6 +20605,13 @@ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -18761,25 +20621,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, - | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18792,13 +20650,13 @@ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18808,41 +20666,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' - 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18853,15 +20678,29 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18872,8 +20711,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -18884,31 +20723,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -18919,16 +20761,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18941,52 +20783,20 @@ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' - 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 250 | case 240 ... 247: - | ^~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 253 | case 224 ... 239: - | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -18996,8 +20806,27 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -19008,12 +20837,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 256 | case 192 ... 223: - | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -19026,16 +20859,6 @@ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 267 | case 128 ... 191: - | ^~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' - 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -19043,19 +20866,24 @@ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -19069,44 +20897,6 @@ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' - 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -19142,28 +20932,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -19173,35 +20958,21 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -19209,26 +20980,6 @@ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: -/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': -/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 285 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' - 120 | alloc = SPA_ROUND_UP(need, arr->extend); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -19241,54 +20992,12 @@ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': -/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 159 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -19299,40 +21008,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' + 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -19342,8 +21034,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -19354,30 +21046,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -19387,21 +21072,38 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' + 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); + | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -19411,34 +21113,28 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' - 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': -/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] - 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; - | ^~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -19448,34 +21144,41 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' - 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' - 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -19491,20 +21194,6 @@ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -19517,49 +21206,16 @@ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' + 273 | if (!spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ @@ -19567,13 +21223,6 @@ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -19586,25 +21235,6 @@ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ @@ -19621,47 +21251,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ @@ -19669,25 +21261,6 @@ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -19697,8 +21270,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ @@ -19706,26 +21279,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -19733,37 +21289,6 @@ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -19776,25 +21301,6 @@ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -19802,20 +21308,6 @@ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -19828,17 +21320,12 @@ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -19849,27 +21336,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': +/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -19880,23 +21362,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -19906,54 +21374,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' - 392 | buf->pos += SPA_MIN(remain, (size_t)written); - | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -19963,22 +21386,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -19989,8 +21412,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20001,15 +21431,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20020,15 +21450,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20039,22 +21469,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': +/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20065,15 +21488,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20084,8 +21507,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20096,15 +21519,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -20113,46 +21529,6 @@ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': -/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' - 54 | *iter = SPA_JSON_INIT(data, size); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -20172,13 +21548,16 @@ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' - 60 | *sub = SPA_JSON_ENTER(iter); - | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' + 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); + | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -20191,67 +21570,19 @@ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] - 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' - 67 | *save = SPA_JSON_SAVE(iter); - | ^~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, - | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, - from /usr/include/spa-0.2/spa/support/plugin.h:15, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, - from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, - from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, - from /build/reproducible-path/kpipewire-6.3.4/src/libopenh264encoder_p.h:10, - from /build/reproducible-path/kpipewire-6.3.4/src/libopenh264encoder.cpp:10: -/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': -/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] - 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) - | ^ -/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' - 41 | *list = SPA_LIST_INIT(list); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': -/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] - 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' - 74 | *sub = SPA_JSON_START(iter,pos); - | ^~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20262,8 +21593,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20274,15 +21605,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20293,22 +21624,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20319,8 +21643,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20331,16 +21655,28 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' + 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, + from /usr/include/spa-0.2/spa/support/plugin.h:15, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:13, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce.cpp:7: +/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': +/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] + 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) + | ^ +/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' + 41 | *list = SPA_LIST_INIT(list); + | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -20348,25 +21684,13 @@ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' + 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -20379,29 +21703,12 @@ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20412,8 +21719,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -20422,12 +21729,6 @@ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' - 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -20440,31 +21741,6 @@ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' - 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': -/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' - 54 | *iter = SPA_JSON_INIT(data, size); - | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -20481,75 +21757,29 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' - 60 | *sub = SPA_JSON_ENTER(iter); - | ^~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: -/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': -/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] - 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) - | ^ -/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' - 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' - 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] - 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' - 67 | *save = SPA_JSON_SAVE(iter); - | ^~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20560,15 +21790,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20579,31 +21809,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': -/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] - 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' - 74 | *sub = SPA_JSON_START(iter,pos); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20614,8 +21821,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20626,8 +21833,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20638,37 +21852,42 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' - 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -20678,29 +21897,74 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' + 273 | if (!spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20711,9 +21975,28 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -20723,9 +22006,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -20735,18 +22039,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -20756,9 +22051,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -20768,56 +22070,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' - 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -20827,29 +22089,26 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': +In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: +/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': +/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] + 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) + | ^ +/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' + 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' + 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20860,21 +22119,21 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -20884,20 +22143,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20908,74 +22162,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' - 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); - | ^~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' - 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' - 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); - | ^~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20986,8 +22181,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -20998,8 +22200,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -21013,6 +22222,20 @@ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -21022,9 +22245,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21034,45 +22264,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' - 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 250 | case 240 ... 247: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 253 | case 224 ... 239: - | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21082,12 +22290,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 256 | case 192 ... 223: - | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21097,26 +22302,25 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': +In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': +/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' + 54 | *iter = SPA_JSON_INIT(data, size); + | ^~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 267 | case 128 ... 191: - | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21126,8 +22330,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' + 60 | *sub = SPA_JSON_ENTER(iter); + | ^~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -21138,32 +22356,83 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] + 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' + 67 | *save = SPA_JSON_SAVE(iter); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' + 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': +/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] + 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' + 74 | *sub = SPA_JSON_START(iter,pos); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' + 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' + 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); +/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 263 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' - 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' + 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); + | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21173,15 +22442,21 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' + 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); + | ^~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -21192,8 +22467,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ @@ -21201,16 +22476,76 @@ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' + 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' + 273 | if (!spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' + 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21220,34 +22555,25 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': -/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' - 54 | *iter = SPA_JSON_INIT(data, size); - | ^~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': -/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' - 54 | *iter = SPA_JSON_INIT(data, size); - | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' + 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -21256,15 +22582,13 @@ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, - | ^~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21274,23 +22598,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' - 60 | *sub = SPA_JSON_ENTER(iter); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21300,107 +22610,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' - 60 | *sub = SPA_JSON_ENTER(iter); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] - 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' - 67 | *save = SPA_JSON_SAVE(iter); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] - 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' - 67 | *save = SPA_JSON_SAVE(iter); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': -/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 159 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': -/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] - 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' - 74 | *sub = SPA_JSON_START(iter,pos); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': -/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] - 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' - 74 | *sub = SPA_JSON_START(iter,pos); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21410,37 +22643,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 250 | case 240 ... 247: - | ^~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 253 | case 224 ... 239: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 256 | case 192 ... 223: - | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21450,15 +22662,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -21469,43 +22674,37 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' - 569 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 267 | case 128 ... 191: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 250 | case 240 ... 247: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 253 | case 224 ... 239: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 256 | case 192 ... 223: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 267 | case 128 ... 191: + | ^~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': -/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] - 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; - | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21515,15 +22714,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -21534,37 +22740,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' - 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' - 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' - 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21574,25 +22752,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' - 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21602,34 +22771,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21639,18 +22783,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ @@ -21658,15 +22793,6 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ @@ -21676,13 +22802,6 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ @@ -21695,18 +22814,6 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ @@ -21719,41 +22826,17 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': +/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] + 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; + | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21763,113 +22846,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': -/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] - 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; - | ^~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': +/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21879,98 +22872,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 250 | case 240 ... 247: - | ^~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 253 | case 224 ... 239: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 256 | case 192 ... 223: - | ^~~~ -/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' - 392 | buf->pos += SPA_MIN(remain, (size_t)written); - | ^~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -21980,57 +22898,28 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 267 | case 128 ... 191: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 250 | case 240 ... 247: - | ^~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 253 | case 224 ... 239: - | ^~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 256 | case 192 ... 223: - | ^~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 267 | case 128 ... 191: - | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22040,23 +22929,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22066,21 +22948,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22090,35 +22960,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22128,22 +22986,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22154,23 +23012,35 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22180,8 +23050,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22192,27 +23062,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22223,30 +23081,37 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' + 392 | buf->pos += SPA_MIN(remain, (size_t)written); + | ^~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' + 345 | n_values = SPA_MIN(n_values, max_values); + | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22256,8 +23121,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22268,99 +23133,28 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': -/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 159 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' - 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': -/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 159 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22370,15 +23164,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22389,28 +23190,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22420,68 +23209,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22491,121 +23228,35 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' - 273 | if (!spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' + 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); + | ^~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': -/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] - 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; - | ^~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': -/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' - 54 | *iter = SPA_JSON_INIT(data, size); - | ^~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': -/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] - 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; - | ^~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22615,91 +23266,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' - 60 | *sub = SPA_JSON_ENTER(iter); - | ^~~~~~~~~~~~~~ -In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': -/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' - 54 | *iter = SPA_JSON_INIT(data, size); - | ^~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] - 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' - 67 | *save = SPA_JSON_SAVE(iter); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' - 60 | *sub = SPA_JSON_ENTER(iter); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': -/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] - 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' - 74 | *sub = SPA_JSON_START(iter,pos); - | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22709,23 +23292,25 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' - 354 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] - 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' - 67 | *save = SPA_JSON_SAVE(iter); - | ^~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: +/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] + 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' + 49 | *parser = SPA_POD_PARSER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22735,68 +23320,54 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': -/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] - 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' - 74 | *sub = SPA_JSON_START(iter,pos); - | ^~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22806,8 +23377,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' - 362 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22818,57 +23389,49 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22878,8 +23441,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' - 370 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22890,8 +23460,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22902,8 +23472,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22914,51 +23484,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' - 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); - | ^~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' - 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' - 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -22968,8 +23517,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' - 378 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22980,8 +23529,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -22992,47 +23548,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' - 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23043,8 +23586,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23055,15 +23598,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23074,27 +23624,39 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' - 386 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23104,32 +23666,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23139,8 +23685,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23151,31 +23704,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23186,8 +23723,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' - 419 | return spa_api_method_r(struct pw_registry*, NULL, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23198,55 +23735,37 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' - 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23256,8 +23775,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23268,15 +23787,25 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': +In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, + from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] + 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' + 87 | *builder = SPA_POD_BUILDER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23287,30 +23816,35 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' - 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23320,9 +23854,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' + 140 | spa_callbacks_call_res(&builder->callbacks, + | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23332,8 +23873,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' - 433 | return spa_api_method_r(void*, NULL, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23344,40 +23899,41 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, - | ^~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' + 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23388,29 +23944,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23421,8 +23982,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23433,8 +24001,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23445,23 +24013,40 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' + 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' + 220 | const struct spa_pod p = SPA_POD_INIT_None(); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' + 226 | const struct spa_pod p = SPA_POD_INIT(size,type); + | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23471,8 +24056,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23483,59 +24068,29 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' - 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 250 | case 240 ... 247: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 253 | case 224 ... 239: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 256 | case 192 ... 223: - | ^~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23546,28 +24101,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' + 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23577,25 +24138,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 267 | case 128 ... 191: - | ^~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': +/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' + 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23606,9 +24164,32 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': +/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' + 54 | *iter = SPA_JSON_INIT(data, size); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] + 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' + 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' + 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23618,9 +24199,28 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23630,15 +24230,43 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 250 | case 240 ... 247: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 253 | case 224 ... 239: - | ^~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' + 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' + 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': +/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] + 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' + 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' + 273 | if (!spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -23646,16 +24274,20 @@ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 256 | case 192 ... 223: - | ^~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': +/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] + 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' + 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' + 345 | n_values = SPA_MIN(n_values, max_values); + | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23668,61 +24300,95 @@ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] + 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' + 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 267 | case 128 ... 191: - | ^~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' + 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' + 60 | *sub = SPA_JSON_ENTER(iter); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] + 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' + 67 | *save = SPA_JSON_SAVE(iter); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': +/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] + 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' + 74 | *sub = SPA_JSON_START(iter,pos); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] + 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' + 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': +/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] + 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' + 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] + 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' + 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); + | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23732,16 +24398,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' + 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23751,9 +24416,57 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' + 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); + | ^~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] + 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23763,9 +24476,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': +/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' + 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); + | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23775,35 +24502,111 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] + 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' + 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' + 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: +/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] + 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' + 49 | *parser = SPA_POD_PARSER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' + 345 | n_values = SPA_MIN(n_values, max_values); + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23813,23 +24616,39 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' - 580 | return spa_api_method_r(void*, NULL, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, + | ^~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' + 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); + | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23839,28 +24658,41 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23870,23 +24702,69 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 250 | case 240 ... 247: + | ^~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23896,9 +24774,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23908,30 +24800,41 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' - 589 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 253 | case 224 ... 239: + | ^~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': -/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 159 | ({ \ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 256 | case 192 ... 223: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 267 | case 128 ... 191: + | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23941,8 +24844,128 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:14: +/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] + 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' + 49 | *parser = SPA_POD_PARSER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -23953,23 +24976,32 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -23979,9 +25011,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': +/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 159 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ @@ -23991,18 +25030,6 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ @@ -24015,13 +25042,6 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': -/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 159 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ @@ -24034,26 +25054,80 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': +/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] + 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; + | ^~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24064,9 +25138,129 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, + from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:16: +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] + 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' + 87 | *builder = SPA_POD_BUILDER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' + 140 | spa_callbacks_call_res(&builder->callbacks, + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24076,25 +25270,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' + 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24104,21 +25296,33 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' + 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' + 220 | const struct spa_pod p = SPA_POD_INIT_None(); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' + 226 | const struct spa_pod p = SPA_POD_INIT(size,type); + | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24128,28 +25332,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -24159,34 +25344,45 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' - 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' + 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, + from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] + 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' + 87 | *builder = SPA_POD_BUILDER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24197,23 +25393,56 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': +/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' + 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] + 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' + 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' + 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -24223,27 +25452,44 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' - 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' + 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': +/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' + 140 | spa_callbacks_call_res(&builder->callbacks, + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': +/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] + 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' + 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': -/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] - 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; - | ^~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': +/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] + 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' + 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); + | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24253,8 +25499,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24265,8 +25511,75 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] + 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' + 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] + 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' + 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': +/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] + 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' + 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] + 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' + 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] + 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24277,37 +25590,82 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': +/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' + 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] + 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' + 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' + 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24317,9 +25675,40 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' + 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' + 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' + 220 | const struct spa_pod p = SPA_POD_INIT_None(); + | ^~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' + 226 | const struct spa_pod p = SPA_POD_INIT(size,type); + | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24329,21 +25718,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' - 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' + 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' + 345 | n_values = SPA_MIN(n_values, max_values); + | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24353,26 +25743,83 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': -/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] - 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; - | ^~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': +/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' + 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': +/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' + 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] + 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' + 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' + 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' + 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': +/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] + 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' + 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': +/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] + 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' + 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' + 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); + | ^~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -24393,25 +25840,20 @@ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' - 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' + 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24421,42 +25863,108 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24466,8 +25974,38 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] + 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' + 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); + | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:14: +/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] + 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' + 49 | *parser = SPA_POD_PARSER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24478,41 +26016,100 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' - 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] + 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' + 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': +/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] + 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' + 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] + 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' + 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24523,16 +26120,44 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -24542,9 +26167,48 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' - 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] + 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24554,8 +26218,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -24573,8 +26237,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24585,30 +26249,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': +/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24618,46 +26282,41 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' - 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': +/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' + 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] + 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' + 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24668,29 +26327,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' + 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24701,9 +26353,55 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -24713,9 +26411,25 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' - 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24725,8 +26439,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24737,22 +26451,39 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, + from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:16: +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] + 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' + 87 | *builder = SPA_POD_BUILDER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -24763,23 +26494,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' - 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': +/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' + 140 | spa_callbacks_call_res(&builder->callbacks, + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24789,9 +26527,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' + 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24801,8 +26553,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24813,16 +26565,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -24830,18 +26575,25 @@ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' - 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' + 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' + 220 | const struct spa_pod p = SPA_POD_INIT_None(); + | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24854,27 +26606,60 @@ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' + 226 | const struct spa_pod p = SPA_POD_INIT(size,type); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' + 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' + 273 | if (!spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' + 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': +/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' + 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24884,42 +26669,90 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' - 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] + 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' + 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' + 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' + 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': +/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] + 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' + 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': +/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] + 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' + 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] + 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' + 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24929,8 +26762,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -24941,9 +26774,32 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] + 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' + 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24953,16 +26809,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': +/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] + 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' + 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24972,16 +26842,71 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] + 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' + 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] + 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -24991,42 +26916,35 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' - 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': +/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' + 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); + | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25036,28 +26954,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] + 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' + 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' + 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25067,22 +26987,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25093,15 +27006,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25112,21 +27025,32 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' - 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25136,39 +27060,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' - 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25179,15 +27086,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25198,35 +27098,23 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' - 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25236,23 +27124,32 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25262,8 +27159,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25274,46 +27171,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' - 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25324,26 +27190,39 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' - 273 | if (!spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25353,42 +27232,25 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' - 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25398,25 +27260,32 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': +/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' + 54 | *iter = SPA_JSON_INIT(data, size); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' + 60 | *sub = SPA_JSON_ENTER(iter); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25426,8 +27295,45 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] + 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' + 67 | *save = SPA_JSON_SAVE(iter); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': +/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] + 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' + 74 | *sub = SPA_JSON_START(iter,pos); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' + 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25438,28 +27344,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' - 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25469,30 +27363,43 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' + 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25502,16 +27409,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25521,58 +27428,105 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' - 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 250 | case 240 ... 247: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 253 | case 224 ... 239: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 256 | case 192 ... 223: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 267 | case 128 ... 191: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': +/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 159 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': +/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] + 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; + | ^~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' + 345 | n_values = SPA_MIN(n_values, max_values); + | ^~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25583,49 +27537,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' - 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -25642,8 +27556,31 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' + 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); + | ^~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: +/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] + 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' + 49 | *parser = SPA_POD_PARSER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25654,8 +27591,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25666,15 +27610,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25685,15 +27629,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25704,9 +27648,49 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, + from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] + 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' + 87 | *builder = SPA_POD_BUILDER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25716,29 +27700,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' + 140 | spa_callbacks_call_res(&builder->callbacks, + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25749,8 +27726,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25761,15 +27745,73 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' + 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' + 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' + 220 | const struct spa_pod p = SPA_POD_INIT_None(); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' + 226 | const struct spa_pod p = SPA_POD_INIT(size,type); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' + 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': +/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' + 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] + 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' + 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' + 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' + 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25780,8 +27822,29 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' - 140 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': +/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] + 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' + 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': +/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] + 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' + 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25792,40 +27855,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' - 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] + 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' + 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] + 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' + 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); + | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25835,8 +27888,39 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': +/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] + 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' + 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] + 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' + 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25847,8 +27931,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25859,15 +27950,44 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' - 145 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] + 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': +/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' + 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25878,32 +27998,22 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' - 273 | if (!spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] + 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' + 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -25914,9 +28024,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' + 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25926,8 +28057,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' - 150 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -25936,15 +28067,6 @@ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -25957,6 +28079,15 @@ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -25976,32 +28107,6 @@ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' - 157 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -26009,13 +28114,6 @@ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26028,56 +28126,45 @@ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -26085,13 +28172,6 @@ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' - 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -26104,6 +28184,22 @@ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26113,15 +28209,44 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' + 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' + 273 | if (!spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26132,30 +28257,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': +/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': -/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 174 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' - 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26165,16 +28276,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26184,34 +28295,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26222,22 +28314,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26248,8 +28333,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' - 282 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26260,8 +28352,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26272,36 +28371,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26312,8 +28390,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26324,21 +28409,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' + 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' - 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, - | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26348,15 +28428,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26367,49 +28447,31 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' + 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': +In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, + from /usr/include/spa-0.2/spa/support/plugin.h:15, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, + from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, + from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, + from /build/reproducible-path/kpipewire-6.3.4/src/libwebpencoder_p.h:6, + from /build/reproducible-path/kpipewire-6.3.4/src/libwebpencoder.cpp:10: +/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': +/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] + 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) + | ^ +/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' + 41 | *list = SPA_LIST_INIT(list); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' - 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26419,8 +28481,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' + 82 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26431,15 +28500,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26450,8 +28519,29 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26462,9 +28552,63 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: +/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': +/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] + 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) + | ^ +/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' + 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' + 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' + 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' + 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' + 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' + 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' + 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, + | ^~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: +/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': +/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 285 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' + 120 | alloc = SPA_ROUND_UP(need, arr->extend); + | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ @@ -26472,55 +28616,51 @@ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' + 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); + | ^~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:14: +/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] + 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' + 49 | *parser = SPA_POD_PARSER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' - 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' + 392 | buf->pos += SPA_MIN(remain, (size_t)written); + | ^~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' - 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26531,8 +28671,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26543,8 +28690,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26555,23 +28709,40 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, + from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:16: +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] + 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' + 87 | *builder = SPA_POD_BUILDER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' + 140 | spa_callbacks_call_res(&builder->callbacks, + | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26581,23 +28752,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' - 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); - | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26607,29 +28771,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' - 303 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' - 273 | if (!spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' - 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); - | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26639,39 +28790,140 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' + 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' + 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' + 220 | const struct spa_pod p = SPA_POD_INIT_None(); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] + 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' + 226 | const struct spa_pod p = SPA_POD_INIT(size,type); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' + 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': +/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' + 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] + 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' + 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' + 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' + 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' + 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' + 284 | spa_interface_call_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': +/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] + 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' + 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': +/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] + 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' + 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] + 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' + 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] + 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' + 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26681,16 +28933,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26700,8 +28952,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26712,9 +28971,30 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': +/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] + 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' + 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] + 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' + 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -26724,33 +29004,459 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' - 309 | return spa_api_method_fast_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] + 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': +/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' + 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] + 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' + 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' + 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' - 273 | if (!spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26760,29 +29466,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26793,9 +29485,32 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -26805,8 +29520,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26817,8 +29539,29 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' + 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' + 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26829,64 +29572,72 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' - 314 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26897,27 +29648,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26928,20 +29686,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26952,36 +29705,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -26992,20 +29724,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' - 371 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27016,22 +29743,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27042,20 +29762,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27066,38 +29781,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, - | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:14: -/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] - 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' - 49 | *parser = SPA_POD_PARSER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27108,8 +29800,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27120,22 +29819,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27146,20 +29838,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' - 377 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27170,29 +29857,34 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27203,8 +29895,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' - 384 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27215,15 +29914,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27234,6 +29933,13 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ @@ -27246,15 +29952,8 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -27263,13 +29962,6 @@ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -27279,77 +29971,171 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': +/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' + 54 | *iter = SPA_JSON_INIT(data, size); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' + 60 | *sub = SPA_JSON_ENTER(iter); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] + 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' + 67 | *save = SPA_JSON_SAVE(iter); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': +/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] + 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' + 74 | *sub = SPA_JSON_START(iter,pos); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' + 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' - 390 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' + 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 250 | case 240 ... 247: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 253 | case 224 ... 239: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 256 | case 192 ... 223: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 267 | case 128 ... 191: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': +/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 159 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 153 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' + 148 | __typeof__(a) _min_a = (a); \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' + 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ + | ^~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' + 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); + | ^~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': +/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] + 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; + | ^~~~ +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27360,14 +30146,14 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' + 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] @@ -27379,22 +30165,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' +/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27405,22 +30184,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' - 396 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' + 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': +/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27431,20 +30203,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' + 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27455,36 +30222,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' + 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27495,20 +30241,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' + 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' - 402 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27519,15 +30260,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' + 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27538,22 +30279,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' + 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27564,20 +30298,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' + 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27588,37 +30317,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' + 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -27628,27 +30336,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' - 408 | return spa_api_method_r(struct spa_source *, NULL, +/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' + 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27659,21 +30355,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' + 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -27683,29 +30374,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' + 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27716,36 +30393,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' + 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': -/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' - 54 | *iter = SPA_JSON_INIT(data, size); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27756,23 +30412,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' + 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' - 60 | *sub = SPA_JSON_ENTER(iter); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -27782,8 +30431,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' - 415 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' + 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27794,30 +30450,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' + 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] - 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' - 67 | *save = SPA_JSON_SAVE(iter); - | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -27827,22 +30469,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' + 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ @@ -27853,16 +30488,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); +/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' + 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': -/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] - 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' - 74 | *sub = SPA_JSON_START(iter,pos); - | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -27872,16 +30507,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' + 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' + 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); + | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -27894,62 +30529,12 @@ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' - 423 | return spa_api_method_r(struct spa_source *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -27960,45 +30545,45 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' + 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': -/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 275 | ({ \ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' + 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(_i, struct type ##_methods, \ +/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' + 273 | if (!spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' - 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': +/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(i, + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -28008,22 +30593,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' + 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': +/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -28034,15 +30612,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' + 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -28053,34 +30631,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' - 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -28090,29 +30650,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' + 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -28123,20 +30669,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' + 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -28147,62 +30688,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' - 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' - 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' + 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -28213,19 +30707,9 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' + 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' - 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); - | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -28233,15 +30717,6 @@ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -28254,80 +30729,6 @@ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' - 273 | if (!spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' - 273 | if (!spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -28335,31 +30736,6 @@ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -28372,36 +30748,6 @@ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, - | ^~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -28421,82 +30767,6 @@ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 250 | case 240 ... 247: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 253 | case 224 ... 239: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 256 | case 192 ... 223: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 267 | case 128 ... 191: - | ^~~~ -In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, - from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewireproduce_p.h:16: -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] - 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' - 87 | *builder = SPA_POD_BUILDER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -28516,13 +30786,6 @@ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' - 140 | spa_callbacks_call_res(&builder->callbacks, - | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -28530,13 +30793,6 @@ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' - 345 | n_values = SPA_MIN(n_values, max_values); - | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -28549,26 +30805,12 @@ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -28579,23 +30821,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' + 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': -/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 159 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -28605,20 +30840,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' + 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -28629,18 +30859,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' + 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ +/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' + 345 | n_values = SPA_MIN(n_values, max_values); + | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ @@ -28648,37 +30876,55 @@ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ +In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: +/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] + 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' + 49 | *parser = SPA_POD_PARSER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 153 | ({ \ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' - 148 | __typeof__(a) _min_a = (a); \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' - 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' - 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); - | ^~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' + 32 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, + from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: +/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] + 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' + 87 | *builder = SPA_POD_BUILDER_INIT(data, size); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 207 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' + 140 | spa_callbacks_call_res(&builder->callbacks, + | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ @@ -28686,51 +30932,6 @@ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) @@ -28741,37 +30942,6 @@ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) @@ -28779,80 +30949,12 @@ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': -/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] - 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; - | ^~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' - 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) @@ -28860,49 +30962,6 @@ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) @@ -28910,20 +30969,6 @@ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) @@ -28931,17 +30976,276 @@ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/build/reproducible-path/kpipewire-6.3.4/src/encoder.cpp: In destructor 'virtual Encoder::~Encoder()': +/build/reproducible-path/kpipewire-6.3.4/src/encoder.cpp:76:22: warning: 'int avcodec_close(AVCodecContext*)' is deprecated [-Wdeprecated-declarations] + 76 | avcodec_close(m_avCodecContext); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +In file included from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:19: +/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2398:5: note: declared here + 2398 | int avcodec_close(AVCodecContext *avctx); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] + 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' + 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); + | ^~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': +/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] + 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' + 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': +/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] + 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' + 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] + 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' + 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] + 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' + 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': +/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] + 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' + 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': +/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] + 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' + 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] + 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' + 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] + 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^~~ +/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] + 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' + 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); + | ^~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, + from /usr/include/spa-0.2/spa/support/plugin.h:15, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, + from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, + from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, + from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, + from /build/reproducible-path/kpipewire-6.3.4/src/gifencoder_p.h:6, + from /build/reproducible-path/kpipewire-6.3.4/src/gifencoder.cpp:10: +/usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': +/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] + 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) + | ^ +/usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' + 41 | *list = SPA_LIST_INIT(list); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': +/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' + 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] + 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' + 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] + 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' + 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: +/usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': +/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] + 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) + | ^ +/usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' + 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' + 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': +/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] + 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) + | ^ +/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' + 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' - 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, +/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' + 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' + 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' + 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' + 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 263 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' + 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, + | ^~~~~~~~~~~~~~ +In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: +/usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': +/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 285 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' + 120 | alloc = SPA_ROUND_UP(need, arr->extend); + | ^~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' + 41 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': +/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 561 | ({ \ + | ^ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': +/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 147 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' + 392 | buf->pos += SPA_MIN(remain, (size_t)written); + | ^~~~~~~ +/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 539 | ({ \ + | ^ +/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' + 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' + 33 | return spa_pod_parse_object(format, + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -28952,15 +31256,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' + 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -28971,23 +31275,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' + 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' - 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); - | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -28997,46 +31294,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: -/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] - 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' - 49 | *parser = SPA_POD_PARSER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' + 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' - 345 | n_values = SPA_MIN(n_values, max_values); - | ^~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': -/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] - 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' - 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29046,27 +31313,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' + 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' - 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29077,29 +31332,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': -/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] - 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' - 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' + 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29110,15 +31351,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' + 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29129,49 +31370,35 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' - 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, +/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' + 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] - 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' - 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ | ^ -/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' - 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); - | ^~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' + 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] - 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' - 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29181,34 +31408,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' + 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29219,22 +31427,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' + 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': -/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] - 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' - 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29245,23 +31446,377 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' + 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' + 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' + 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' + 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' + 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' + 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' + 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' + 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' + 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' + 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' + 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' + 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' + 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' + 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' + 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' + 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' + 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' + 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' + 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' + 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] - 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' - 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29271,41 +31826,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' + 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~ -In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, - from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': -/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' - 54 | *iter = SPA_JSON_INIT(data, size); - | ^~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29315,23 +31845,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' + 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' - 60 | *sub = SPA_JSON_ENTER(iter); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29341,39 +31864,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' + 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] - 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': -/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] - 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' - 67 | *save = SPA_JSON_SAVE(iter); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29383,31 +31883,29 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' + 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': -/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] - 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' - 74 | *sub = SPA_JSON_START(iter,pos); - | ^~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: -/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] - 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' - 49 | *parser = SPA_POD_PARSER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' + 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': +/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 174 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' + 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29418,33 +31916,73 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' + 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': -/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' - 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' + 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' + 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' + 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29454,29 +31992,35 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' + 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] - 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' - 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': +/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 315 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 214 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' + 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' + 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' + 309 | return spa_api_method_fast_r(int, -ENOTSUP, + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' - 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29486,62 +32030,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' - 182 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' - 345 | n_values = SPA_MIN(n_values, max_values); - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' - 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' - 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' + 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' - 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); - | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29551,8 +32049,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, +/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' + 371 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29563,38 +32068,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' - 345 | n_values = SPA_MIN(n_values, max_values); - | ^~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' + 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29605,8 +32087,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' + 384 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29617,54 +32106,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' - 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); - | ^~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' + 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29675,8 +32125,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' + 396 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29687,39 +32144,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' + 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29729,8 +32163,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' + 408 | return spa_api_method_r(struct spa_source *, NULL, + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29741,34 +32182,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' - 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, +/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' + 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': +/usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' - 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' - 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29778,32 +32201,35 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' + 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': +/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 275 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 165 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' + 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' + 277 | spa_interface_call(_i, struct type ##_methods, \ + | ^~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' + 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: -/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] - 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' - 49 | *parser = SPA_POD_PARSER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29813,15 +32239,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' - 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, +/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' + 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29832,15 +32258,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' + 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, + | ^~~~~~~~~~~~~~~~ +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': +/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 281 | ({ \ + | ^ +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 250 | case 240 ... 247: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 253 | case 224 ... 239: - | ^~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29850,28 +32277,15 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, +/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' + 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 256 | case 192 ... 223: - | ^~~~ -/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] - 267 | case 128 ... 191: - | ^~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ @@ -29882,35 +32296,16 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' - 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, +/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' + 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, - from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] - 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' - 87 | *builder = SPA_POD_BUILDER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': +/usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: -/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] - 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' - 49 | *parser = SPA_POD_PARSER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -29920,67 +32315,121 @@ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' - 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, +/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' + 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ +In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, + from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': +/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] + 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' + 54 | *iter = SPA_JSON_INIT(data, size); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] + 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' + 60 | *sub = SPA_JSON_ENTER(iter); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': +/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] + 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' + 67 | *save = SPA_JSON_SAVE(iter); + | ^~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': +/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] + 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) + | ^ +/usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' + 74 | *sub = SPA_JSON_START(iter,pos); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ +/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' + 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' + 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' - 140 | spa_callbacks_call_res(&builder->callbacks, - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' - 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] + 83 | ({ \ + | ^ +/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' + 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) + | ^~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' + 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); + | ^~~~~~~~~~~~~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 250 | case 240 ... 247: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 253 | case 224 ... 239: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 256 | case 192 ... 223: + | ^~~~ +/usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] + 267 | case 128 ... 191: + | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ @@ -29988,13 +32437,6 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ @@ -30004,13 +32446,6 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ @@ -30023,27 +32458,6 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' - 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ @@ -30056,399 +32470,10 @@ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' - 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' - 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' - 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' - 220 | const struct spa_pod p = SPA_POD_INIT_None(); - | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' - 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' - 226 | const struct spa_pod p = SPA_POD_INIT(size,type); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' - 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, - from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] - 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' - 87 | *builder = SPA_POD_BUILDER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': -/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' - 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' - 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] - 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' - 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' - 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' - 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' - 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' - 140 | spa_callbacks_call_res(&builder->callbacks, - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': -/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] - 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' - 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': -/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] - 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' - 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' - 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] - 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' - 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' - 345 | n_values = SPA_MIN(n_values, max_values); - | ^~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] - 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' - 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' - 345 | n_values = SPA_MIN(n_values, max_values); - | ^~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' - 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' - 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': -/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] - 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' - 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' - 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' - 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); - | ^~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' - 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' - 220 | const struct spa_pod p = SPA_POD_INIT_None(); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' - 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); - | ^~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' - 226 | const struct spa_pod p = SPA_POD_INIT(size,type); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] - 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' - 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' - 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' - 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': -/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' - 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); - | ^~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -30456,36 +32481,6 @@ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] - 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] - 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' - 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -30498,48 +32493,6 @@ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' - 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' - 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' - 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); - | ^~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -30547,32 +32500,6 @@ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' - 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -30585,30 +32512,6 @@ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': -/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] - 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' - 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, - from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] - 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' - 87 | *builder = SPA_POD_BUILDER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': -/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] - 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' - 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); - | ^~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -30616,32 +32519,6 @@ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': -/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' - 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': -/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 315 | ({ \ - | ^ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 214 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' - 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' - 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' - 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -30654,38 +32531,6 @@ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] - 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' - 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); - | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: -/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] - 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' - 49 | *parser = SPA_POD_PARSER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] - 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' - 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); - | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: -/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] - 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' - 49 | *parser = SPA_POD_PARSER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -30693,13 +32538,6 @@ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -30712,212 +32550,6 @@ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' - 140 | spa_callbacks_call_res(&builder->callbacks, - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' - 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] - 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' - 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, - from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] - 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' - 87 | *builder = SPA_POD_BUILDER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': -/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] - 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' - 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' - 97 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] - 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' - 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' - 140 | spa_callbacks_call_res(&builder->callbacks, - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' - 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] - 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' - 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' - 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' - 220 | const struct spa_pod p = SPA_POD_INIT_None(); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' - 226 | const struct spa_pod p = SPA_POD_INIT(size,type); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' - 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' - 273 | if (!spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': -/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' - 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' - 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': -/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' - 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] - 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' - 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 165 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' - 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' - 277 | spa_interface_call(i, - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -30925,23 +32557,6 @@ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' - 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' - 220 | const struct spa_pod p = SPA_POD_INIT_None(); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] - 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' - 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); - | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -30954,33 +32569,6 @@ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' - 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' - 226 | const struct spa_pod p = SPA_POD_INIT(size,type); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' - 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' - 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -30988,20 +32576,6 @@ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' - 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': -/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] - 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' - 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31014,46 +32588,6 @@ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': -/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' - 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': -/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] - 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' - 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' - 123 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] - 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' - 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31061,13 +32595,6 @@ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31080,36 +32607,6 @@ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' - 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] - 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' - 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' - 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); - | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31117,20 +32614,6 @@ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': -/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] - 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' - 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] - 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' - 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); - | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31143,29 +32626,6 @@ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': -/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] - 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' - 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31185,43 +32645,6 @@ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': -/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] - 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' - 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] - 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' - 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] - 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' - 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31229,13 +32652,6 @@ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31248,87 +32664,6 @@ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] - 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' - 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] - 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31336,31 +32671,6 @@ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': -/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] - 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' - 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' - 95 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31373,13 +32683,6 @@ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] - 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' - 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); - | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31387,16 +32690,6 @@ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31409,45 +32702,6 @@ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' - 194 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': -/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' - 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31455,31 +32709,6 @@ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] - 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31492,56 +32721,6 @@ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] - 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' - 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' - 202 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, - from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] - 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' - 87 | *builder = SPA_POD_BUILDER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31549,16 +32728,6 @@ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, - from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] - 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' - 87 | *builder = SPA_POD_BUILDER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31571,48 +32740,6 @@ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' - 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' - 212 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31620,13 +32747,6 @@ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': -/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' - 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); - | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31639,53 +32759,6 @@ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' - 140 | spa_callbacks_call_res(&builder->callbacks, - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] - 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' - 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' - 221 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' - 140 | spa_callbacks_call_res(&builder->callbacks, - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31693,15 +32766,6 @@ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31714,32 +32778,6 @@ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' - 229 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' - 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31766,34 +32804,6 @@ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' - 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' - 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -31806,47 +32816,6 @@ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' - 155 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' - 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' - 220 | const struct spa_pod p = SPA_POD_INIT_None(); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' - 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' - 220 | const struct spa_pod p = SPA_POD_INIT_None(); - | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -31854,45 +32823,6 @@ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' - 226 | const struct spa_pod p = SPA_POD_INIT(size,type); - | ^~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' - 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' - 226 | const struct spa_pod p = SPA_POD_INIT(size,type); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' - 163 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -31905,12 +32835,6 @@ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' - 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -31930,60 +32854,6 @@ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': -/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' - 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': -/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' - 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' - 173 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] - 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' - 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] - 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' - 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ @@ -31991,22 +32861,6 @@ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' - 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ @@ -32019,85 +32873,6 @@ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' - 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' - 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' - 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': -/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] - 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' - 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': -/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] - 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' - 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': -/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] - 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' - 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': -/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] - 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' - 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] - 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' - 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -32105,13 +32880,6 @@ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] - 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' - 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); - | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -32124,59 +32892,6 @@ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] - 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' - 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] - 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' - 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': -/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] - 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' - 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': -/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] - 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' - 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ @@ -32187,97 +32902,6 @@ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] - 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' - 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' - 72 | return spa_api_method_r(struct spa_thread *, NULL, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] - 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' - 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, __va_list_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ @@ -32288,41 +32912,6 @@ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] - 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' - 82 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ @@ -32332,63 +32921,6 @@ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] - 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' - 92 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -32408,86 +32940,6 @@ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' - 102 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': -/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' - 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': -/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' - 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] - 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' - 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': -/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 281 | ({ \ - | ^ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] - 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' - 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' - 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' - 284 | spa_interface_call_res(_i, struct type ##_methods, \ - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' - 112 | return spa_api_method_r(int, -ENOTSUP, - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' - 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' - 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -32507,29 +32959,6 @@ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -32537,15 +32966,6 @@ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -32596,13 +33016,6 @@ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -32610,22 +33023,6 @@ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -32638,15 +33035,6 @@ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -32666,38 +33054,6 @@ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -32717,20 +33073,6 @@ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' - 345 | n_values = SPA_MIN(n_values, max_values); - | ^~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -32738,31 +33080,6 @@ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -32782,13 +33099,6 @@ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 147 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' - 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); - | ^~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ @@ -32801,15 +33111,6 @@ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: -/usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] - 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' - 49 | *parser = SPA_POD_PARSER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ @@ -32905,39 +33206,6 @@ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' - 32 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': -/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] - 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' - 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, - from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, - from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: -/usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] - 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' - 87 | *builder = SPA_POD_BUILDER_INIT(data, size); - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ @@ -32952,43 +33220,6 @@ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 207 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' - 140 | spa_callbacks_call_res(&builder->callbacks, - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' - 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' - 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' - 220 | const struct spa_pod p = SPA_POD_INIT_None(); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] - 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' - 226 | const struct spa_pod p = SPA_POD_INIT(size,type); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 83 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' - 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); - | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': @@ -32998,129 +33229,6 @@ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': -/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] - 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' - 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] - 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' - 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' - 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); - | ^~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] - 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' - 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); - | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': -/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] - 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' - 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': -/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] - 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' - 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] - 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' - 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] - 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' - 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': -/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] - 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' - 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': -/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] - 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' - 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); - | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] - 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' - 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] - 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^~~ -/usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] - 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' - 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': -/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] - 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' - 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] - 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' - 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': -/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] - 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) - | ^ -/usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' - 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); - | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ @@ -33144,22 +33252,6 @@ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:23: @@ -33177,22 +33269,6 @@ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' - 41 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ @@ -33200,13 +33276,6 @@ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) @@ -33217,15 +33286,6 @@ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) @@ -33253,22 +33313,6 @@ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': -/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 561 | ({ \ - | ^ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] - 539 | ({ \ - | ^ -/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' - 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' - 33 | return spa_pod_parse_object(format, - | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) @@ -33448,8 +33492,8 @@ from /build/reproducible-path/kpipewire-6.3.4/src/pipewiresourcestream.h:20, from /build/reproducible-path/kpipewire-6.3.4/src/dmabufhandler.h:11, from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:15, - from /build/reproducible-path/kpipewire-6.3.4/src/libvpxencoder_p.h:9, - from /build/reproducible-path/kpipewire-6.3.4/src/libvpxencoder.cpp:9: + from /build/reproducible-path/kpipewire-6.3.4/src/libx264encoder_p.h:9, + from /build/reproducible-path/kpipewire-6.3.4/src/libx264encoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) @@ -35778,14 +35822,6 @@ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/kpipewire-6.3.4/src/encoder.cpp: In destructor 'virtual Encoder::~Encoder()': -/build/reproducible-path/kpipewire-6.3.4/src/encoder.cpp:76:22: warning: 'int avcodec_close(AVCodecContext*)' is deprecated [-Wdeprecated-declarations] - 76 | avcodec_close(m_avCodecContext); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -In file included from /build/reproducible-path/kpipewire-6.3.4/src/encoder_p.h:19: -/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2398:5: note: declared here - 2398 | int avcodec_close(AVCodecContext *avctx); - | ^~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics @@ -35803,10 +35839,10 @@ cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics -cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics +cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics @@ -35862,16 +35898,16 @@ [ 85%] Built target KPipeWireRecordDeclarative_autogen make -f src/CMakeFiles/KPipeWireRecordDeclarative.dir/build.make src/CMakeFiles/KPipeWireRecordDeclarative.dir/depend make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' -[ 88%] Running AUTOMOC file extraction for target KPipeWireRecordDeclarative +[ 86%] Running AUTOMOC file extraction for target KPipeWireRecordDeclarative +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/lib/qt6/libexec/cmake_automoc_parser --cmake-autogen-cache-file /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/ParseCache.txt --cmake-autogen-info-file /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/AutogenInfo.json --output-file-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/KPipeWireRecordDeclarative_json_file_list.txt --timestamp-file-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/KPipeWireRecordDeclarative_json_file_list.txt.timestamp --cmake-autogen-include-dir-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecordDeclarative_autogen/include [ 88%] Running rcc for resource qmake_org_kde_pipewire_record cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/lib/qt6/libexec/rcc --output /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp --name qmake_org_kde_pipewire_record /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/rcc/qmake_org_kde_pipewire_record.qrc -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/lib/qt6/libexec/cmake_automoc_parser --cmake-autogen-cache-file /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/ParseCache.txt --cmake-autogen-info-file /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/AutogenInfo.json --output-file-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/KPipeWireRecordDeclarative_json_file_list.txt --timestamp-file-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/KPipeWireRecordDeclarative_json_file_list.txt.timestamp --cmake-autogen-include-dir-path /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecordDeclarative_autogen/include +[ 89%] Running moc --collect-json for target KPipeWireRecordDeclarative +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/lib/qt6/libexec/moc -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/qt6kpipewirerecorddeclarative_none_metatypes.json.gen --collect-json @/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/KPipeWireRecordDeclarative_json_file_list.txt Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. -[ 89%] Running moc --collect-json for target KPipeWireRecordDeclarative -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/lib/qt6/libexec/moc -o /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/qt6kpipewirerecorddeclarative_none_metatypes.json.gen --collect-json @/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/KPipeWireRecordDeclarative_json_file_list.txt cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E copy_if_different /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/qt6kpipewirerecorddeclarative_none_metatypes.json.gen /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/meta_types/qt6kpipewirerecorddeclarative_none_metatypes.json [ 90%] Generating meta_types/qt6kpipewirerecorddeclarative_none_metatypes.json cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E true @@ -35891,12 +35927,12 @@ make[3]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' [ 93%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecordDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o -MF CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp -[ 94%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecordDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o -MF CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o.d -o CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/kpipewirerecorddeclarativeplugin.cpp -[ 97%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o -[ 97%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o -cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecordDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o -MF CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o.d -o CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp +[ 94%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecordDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o -MF CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o.d -o CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/kpipewirerecorddeclarative_qmltyperegistrations.cpp +[ 96%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecordDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o -MF CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o.d -o CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp +[ 97%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o +cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/kpipewire-6.3.4/src -I/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src/KPipeWireRecordDeclarative_autogen/include -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtQml/6.8.2/QtQml -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2 -I/usr/include/x86_64-linux-gnu/qt6/QtCore/6.8.2/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtQml -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlIntegration -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlMeta -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt6/QtQmlWorkerScript -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o -MF CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o.d -o CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o -c /build/reproducible-path/kpipewire-6.3.4/src/kpipewirerecorddeclarativeplugin.cpp [ 98%] Linking CXX shared module ../bin/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so cd /build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/KPipeWireRecordDeclarative.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/kpipewire-6.3.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -shared -o ../bin/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o -Wl,-rpath,/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/bin: ../bin/libKPipeWireRecord.so.6.3.4 ../bin/libKPipeWire.so.6.3.4 /usr/lib/x86_64-linux-gnu/libQt6Quick.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlMeta.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlWorkerScript.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6QmlModels.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Qml.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Network.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6OpenGL.so.6.8.2 /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.2 -Wl,-rpath-link,/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu/bin @@ -35909,7 +35945,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --buildsystem=kf6 - cd obj-x86_64-linux-gnu && make -j42 install DESTDIR=/build/reproducible-path/kpipewire-6.3.4/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd obj-x86_64-linux-gnu && make -j20 install DESTDIR=/build/reproducible-path/kpipewire-6.3.4/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/reproducible-path/kpipewire-6.3.4 -B/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 preinstall @@ -35967,135 +36003,135 @@ -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/pipewire/monitor/KPipeWireMonitorDeclarative.qmltypes -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/pipewire/monitor/kde-qmlmodule.version -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fr --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fr/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fr/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fi --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fi/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fi/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/id --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/id/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/id/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/uk --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/uk/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/uk/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pt --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pt/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pt/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lv --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lv/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lv/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nl --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nl/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nl/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_CN --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_CN/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_CN/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/he --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/he/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/he/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/tr --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/tr/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/tr/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hu --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hu/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hu/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sv --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sv/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sv/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/es --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/es/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/es/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lt --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lt/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lt/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ro --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ro/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ro/LC_MESSAGES/kpipewire6.mo -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ko -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ko/LC_MESSAGES -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ko/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/de --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/de/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/de/LC_MESSAGES/kpipewire6.mo -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ia -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ia/LC_MESSAGES -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ia/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hi --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hi/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hi/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pa --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pa/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pa/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ast --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ast/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ast/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_TW --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_TW/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_TW/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nn --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nn/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nn/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ta --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ta/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ta/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pl --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pl/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pl/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ja +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ja/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ja/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hu +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hu/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hu/LC_MESSAGES/kpipewire6.mo -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ar -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ar/LC_MESSAGES -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ar/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ka --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ka/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ka/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sv +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sv/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sv/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/cs +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/cs/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/cs/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/eo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/eo/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/eo/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fi +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fi/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fi/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/id +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/id/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/id/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fr +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fr/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/fr/LC_MESSAGES/kpipewire6.mo -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/gl -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/gl/LC_MESSAGES -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/gl/LC_MESSAGES/kpipewire6.mo -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sa -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sa/LC_MESSAGES -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sa/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sk --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sk/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sk/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ja --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ja/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ja/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/it --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/it/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/it/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/is --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/is/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/is/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/bg --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/bg/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/bg/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/cs --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/cs/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/cs/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/en_GB --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/en_GB/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/en_GB/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca@valencia --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca@valencia/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca@valencia/LC_MESSAGES/kpipewire6.mo -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sl -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sl/LC_MESSAGES -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sl/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ka +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ka/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ka/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/en_GB +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/en_GB/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/en_GB/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/es +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/es/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/es/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/he +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/he/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/he/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hi +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hi/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/hi/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/tr +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/tr/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/tr/LC_MESSAGES/kpipewire6.mo -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/eu -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/eu/LC_MESSAGES -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/eu/LC_MESSAGES/kpipewire6.mo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/eo --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/eo/LC_MESSAGES --- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/eo/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_CN +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_CN/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_CN/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_TW +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_TW/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/zh_TW/LC_MESSAGES/kpipewire6.mo -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pt_BR -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pt_BR/LC_MESSAGES -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pt_BR/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca@valencia +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca@valencia/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca@valencia/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nl +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nl/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nl/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pt +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pt/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pt/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/bg +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/bg/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/bg/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/is +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/is/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/is/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/de +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/de/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/de/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nn +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nn/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/nn/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ast +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ast/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ast/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pa +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pa/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pa/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/uk +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/uk/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/uk/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/it +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/it/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/it/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sk +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sk/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/sk/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pl +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pl/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/pl/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ca/LC_MESSAGES/kpipewire6.mo -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ru -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ru/LC_MESSAGES -- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ru/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lt +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lt/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lt/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ro +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ro/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ro/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ta +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ta/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/ta/LC_MESSAGES/kpipewire6.mo +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lv +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lv/LC_MESSAGES +-- Installing: /build/reproducible-path/kpipewire-6.3.4/debian/tmp/usr/share/locale/lv/LC_MESSAGES/kpipewire6.mo make[1]: Leaving directory '/build/reproducible-path/kpipewire-6.3.4/obj-x86_64-linux-gnu' dh_install dh_installdocs @@ -36103,49 +36139,49 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/libkpipewire-data/usr/share/locale/fr/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/fi/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/id/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/uk/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/pt/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/lv/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/nl/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/zh_CN/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/he/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/tr/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/hu/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/sv/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/es/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/lt/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/ro/LC_MESSAGES/kpipewire6.mo Normalized debian/libkpipewire-data/usr/share/locale/ko/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/de/LC_MESSAGES/kpipewire6.mo Normalized debian/libkpipewire-data/usr/share/locale/ia/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/hi/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/pa/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/ast/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/zh_TW/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/nn/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/ta/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/pl/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/ca/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/ja/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/hu/LC_MESSAGES/kpipewire6.mo Normalized debian/libkpipewire-data/usr/share/locale/ar/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/ka/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/sv/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/id/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/fr/LC_MESSAGES/kpipewire6.mo Normalized debian/libkpipewire-data/usr/share/locale/gl/LC_MESSAGES/kpipewire6.mo Normalized debian/libkpipewire-data/usr/share/locale/sa/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/sk/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/ja/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/it/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/is/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/bg/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/cs/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/en_GB/LC_MESSAGES/kpipewire6.mo - Normalized debian/libkpipewire-data/usr/share/locale/ca@valencia/LC_MESSAGES/kpipewire6.mo Normalized debian/libkpipewire-data/usr/share/locale/sl/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/ka/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/hi/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/tr/LC_MESSAGES/kpipewire6.mo Normalized debian/libkpipewire-data/usr/share/locale/eu/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/cs/LC_MESSAGES/kpipewire6.mo Normalized debian/libkpipewire-data/usr/share/locale/eo/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/fi/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/en_GB/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/es/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/he/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/zh_CN/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/zh_TW/LC_MESSAGES/kpipewire6.mo Normalized debian/libkpipewire-data/usr/share/locale/pt_BR/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/ca@valencia/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/nl/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/pt/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/bg/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/is/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/de/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/nn/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/ast/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/pa/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/uk/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/it/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/sk/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/lt/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/ro/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/ta/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/pl/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/ca/LC_MESSAGES/kpipewire6.mo Normalized debian/libkpipewire-data/usr/share/locale/ru/LC_MESSAGES/kpipewire6.mo + Normalized debian/libkpipewire-data/usr/share/locale/lv/LC_MESSAGES/kpipewire6.mo dh_compress -X.dcl -X.docbook -X-license -X.tag -X.sty -X.el dh_fixperms dh_missing @@ -36159,7 +36195,7 @@ diversion by libc6 to: /lib64/ld-linux-x86-64.so.2.usr-is-merged dh_installdeb dh_qmldeps -I: dh_qmldeps dh_qmldeps:138: Execute /usr/bin/pkgkde-getqmldepends -p qml6-module-org-kde-pipewire --qt 6 -- -rootPath debian/qml6-module-org-kde-pipewire/usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/pipewire debian/qml6-module-org-kde-pipewire/usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/pipewire/monitor debian/qml6-module-org-kde-pipewire/usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/pipewire/record +I: dh_qmldeps dh_qmldeps:138: Execute /usr/bin/pkgkde-getqmldepends -p qml6-module-org-kde-pipewire --qt 6 -- -rootPath debian/qml6-module-org-kde-pipewire/usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/pipewire debian/qml6-module-org-kde-pipewire/usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/pipewire/record debian/qml6-module-org-kde-pipewire/usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/pipewire/monitor Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual @@ -36170,16 +36206,16 @@ dpkg-gencontrol: warning: Depends field of package qml6-module-org-kde-pipewire: substitution variable ${qml6:Depends} used, but is not defined dh_md5sums dh_builddeb +dpkg-deb: building package 'libkpipewiredmabuf6-dbgsym' in '../libkpipewiredmabuf6-dbgsym_6.3.4-1_amd64.deb'. dpkg-deb: building package 'libkpipewire-data' in '../libkpipewire-data_6.3.4-1_all.deb'. -dpkg-deb: building package 'libkpipewire-dev' in '../libkpipewire-dev_6.3.4-1_amd64.deb'. -dpkg-deb: building package 'libkpipewire6' in '../libkpipewire6_6.3.4-1_amd64.deb'. dpkg-deb: building package 'libkpipewire6-dbgsym' in '../libkpipewire6-dbgsym_6.3.4-1_amd64.deb'. +dpkg-deb: building package 'qml6-module-org-kde-pipewire-dbgsym' in '../qml6-module-org-kde-pipewire-dbgsym_6.3.4-1_amd64.deb'. +dpkg-deb: building package 'libkpipewire-dev' in '../libkpipewire-dev_6.3.4-1_amd64.deb'. dpkg-deb: building package 'libkpipewiredmabuf6' in '../libkpipewiredmabuf6_6.3.4-1_amd64.deb'. -dpkg-deb: building package 'libkpipewiredmabuf6-dbgsym' in '../libkpipewiredmabuf6-dbgsym_6.3.4-1_amd64.deb'. -dpkg-deb: building package 'libkpipewirerecord6' in '../libkpipewirerecord6_6.3.4-1_amd64.deb'. dpkg-deb: building package 'libkpipewirerecord6-dbgsym' in '../libkpipewirerecord6-dbgsym_6.3.4-1_amd64.deb'. +dpkg-deb: building package 'libkpipewirerecord6' in '../libkpipewirerecord6_6.3.4-1_amd64.deb'. dpkg-deb: building package 'qml6-module-org-kde-pipewire' in '../qml6-module-org-kde-pipewire_6.3.4-1_amd64.deb'. -dpkg-deb: building package 'qml6-module-org-kde-pipewire-dbgsym' in '../qml6-module-org-kde-pipewire-dbgsym_6.3.4-1_amd64.deb'. +dpkg-deb: building package 'libkpipewire6' in '../libkpipewire6_6.3.4-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../kpipewire_6.3.4-1_amd64.buildinfo dpkg-genchanges --build=binary -O../kpipewire_6.3.4-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -36187,12 +36223,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1572097/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1572097/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3917967 and its subdirectories -I: Current time: Wed May 6 02:52:27 -12 2026 -I: pbuilder-time-stamp: 1778079147 +I: removing directory /srv/workspace/pbuilder/1572097 and its subdirectories +I: Current time: Thu Apr 3 22:50:53 +14 2025 +I: pbuilder-time-stamp: 1743670253