Building package "kpipewire" :: Synchronizing package databases... chaotic-aur-kde downloading... core downloading... extra downloading... community downloading... multilib downloading... chaotic-aur downloading... :: Starting full system upgrade... there is nothing to do warning: gcc-libs-13.2.1-5 is up to date -- skipping warning: glibc-2.39-1 is up to date -- skipping warning: libdrm-2.4.120-1 is up to date -- skipping warning: mesa-1:24.0.2-1 is up to date -- skipping warning: qt6-base-6.6.2-4 is up to date -- skipping warning: qt6-declarative-6.6.2-1 is up to date -- skipping resolving dependencies... :: There are 3 providers available for jack: :: Repository extra 1) jack2 2) pipewire-jack :: Repository chaotic-aur 3) pipewire-common-jack-git Enter a number (default=1): :: There are 2 providers available for libzimg.so=2-64: :: Repository extra 1) zimg :: Repository chaotic-aur 2) zimg-git Enter a number (default=1): looking for conflicting packages... Packages (102) alsa-lib-1.2.11-1 alsa-topology-conf-1.2.5.1-3 alsa-ucm-conf-1.2.11-1 aom-3.8.1-1 cairo-1.18.0-1 cmake-3.28.3-1 cppdap-1.58.0-1 dav1d-1.4.0-1 fftw-3.3.10-6 flac-1.4.3-1 fribidi-1.0.13-2 gdk-pixbuf2-2.42.10-2 giflib-5.2.2-1 glslang-14.0.0-2 gperftools-2.15-1 gsm-1.0.22-1 hicolor-icon-theme-0.17-3 hidapi-0.14.0-2 highway-1.1.0-1 imath-3.1.11-1 iso-codes-4.16.0-1 jack2-1.9.22-1 jbigkit-2.1-7 jsoncpp-1.9.5-2 l-smash-2.14.5-3 lame-3.100-4 lcms2-2.16-1 libass-0.17.1-4 libasyncns-1:0.8+r3+g68cd5af-2 libavc1394-0.5.4-6 libbluray-1.3.4-1 libbs2b-3.1.0-8 libdatrie-0.2.13-4 libdeflate-1.19-1 libdovi-3.2.0-2 libiec61883-1.2.0-7 libjxl-0.10.1-1 libmodplug-0.8.9.0-5 libnsl-2.0.1-1 libogg-1.3.5-1 libopenmpt-0.7.4-1 libplacebo-6.338.2-2 libpulse-17.0-3 libraw1394-2.1.2-3 librsvg-2:2.57.1-1 libsamplerate-0.2.2-2 libsndfile-1.2.2-2 libsoxr-0.1.3-3 libssh-0.10.6-2 libthai-0.1.29-3 libtheora-1.1.1-6 libtiff-4.6.0-2 libunibreak-6.1-1 libuv-1.48.0-1 libvdpau-1.5-2 libvorbis-1.3.7-3 libvpl-2.10.2-1 libvpx-1.14.0-1 libwebp-1.3.2-1 libxcursor-1.2.2-1 libxft-2.3.8-1 libxrender-0.9.11-1 libxv-1.0.12-1 lzo-2.10-5 mpg123-1.32.5-1 ocl-icd-2.3.2-1 opencore-amr-0.1.6-1 openexr-3.2.2-1 openjpeg2-2.5.2-1 opus-1.5.1-1 pango-1:1.52.0-1 pixman-0.43.4-1 portaudio-1:19.7.0-2 python-3.11.8-1 rav1e-0.7.1-1 rhash-1.4.4-1 rubberband-3.3.0-1 sdl2-2.30.0-1 shaderc-2023.8-1 snappy-1.1.10-1 speex-1.2.1-1 speexdsp-1.2.1-1 spirv-tools-2023.6-1 srt-1.5.3-1 svt-av1-1.8.0-1 v4l-utils-1.26.1-1 vapoursynth-R65-1 vid.stab-1.1.1-1 vmaf-3.0.0-1 x264-3:0.164.r3108.31e19f9-1 x265-3.5-3 xvidcore-1.3.7-2 xxhash-0.8.2-1 zimg-3.0.5-1 extra-cmake-modules-5.249.0.r4.gb4d3206_240226-1 ffmpeg-2:6.1.1-6 kcoreaddons-6.0.0.r1.g9460614_240302-1 ki18n-6.0.0.r4.g8affee2_240306-1 libepoxy-1.5.10-2 libpipewire-1:1.0.3-1 libva-2.20.0-1 plasma-wayland-protocols-1.11.1.r5.g67b0cba_240105-1 Total Installed Size: 478.69 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing alsa-topology-conf... installing alsa-ucm-conf... installing alsa-lib... installing aom... installing libxrender... installing lzo... installing pixman... installing cairo... installing dav1d... Optional dependencies for dav1d dav1d-doc: HTML documentation installing fribidi... installing gsm... installing libsamplerate... installing opus... installing jack2... Optional dependencies for jack2 a2jmidid: for ALSA MIDI to JACK MIDI bridging libffado: for firewire support using FFADO jack-example-tools: for official JACK example-clients and tools jack2-dbus: for dbus integration jack2-docs: for developer documentation realtime-privileges: for realtime privileges installing lame... installing libunibreak... installing libass... installing libraw1394... installing libavc1394... installing libbluray... Optional dependencies for libbluray java-runtime: BD-J library installing libogg... installing flac... installing libvorbis... installing mpg123... Optional dependencies for mpg123 sdl2: for sdl audio support [pending] jack: for jack audio support [installed] libpulse: for pulse audio support [pending] perl: for conplay [installed] installing libsndfile... Optional dependencies for libsndfile alsa-lib: for sndfile-play [installed] installing libbs2b... installing libiec61883... installing giflib... installing gperftools... Optional dependencies for gperftools graphviz: pprof graph generation perl: pprof and pprof-symbolize commands [installed] installing highway... installing imath... Optional dependencies for imath boost-libs: python bindings python: python bindings [pending] installing libdeflate... installing openexr... installing libjxl... Optional dependencies for libjxl gdk-pixbuf2: for gdk-pixbuf loader [pending] gimp: for gimp plugin java-runtime: for JNI bindings installing libmodplug... installing libasyncns... installing libpulse... Optional dependencies for libpulse glib2: mainloop integration [installed] pulse-native-provider: PulseAudio backend installing portaudio... installing libopenmpt... installing spirv-tools... installing glslang... installing jbigkit... installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing lcms2... installing shaderc... installing libdovi... installing xxhash... installing libplacebo... installing gdk-pixbuf2... Optional dependencies for gdk-pixbuf2 libwmf: Load .wmf and .apm libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and .raf libavif: Load .avif libheif: Load .heif, .heic, and .avif libjxl: Load .jxl [installed] librsvg: Load .svg, .svgz, and .svg.gz [pending] webp-pixbuf-loader: Load .webp installing libdatrie... installing libthai... installing libxft... installing pango... installing librsvg... installing libsoxr... installing libssh... installing libtheora... installing libva... Optional dependencies for libva intel-media-driver: backend for Intel GPUs (>= Broadwell) libva-intel-driver: backend for Intel GPUs (<= Haswell) libva-mesa-driver: backend for AMD and NVIDIA GPUs installing libvdpau... Optional dependencies for libvdpau libvdpau-va-gl: driver using VAAPI mesa-vdpau: driver for Mesa nvidia-utils: driver for NVIDIA installing libvpx... installing libwebp... installing libxv... installing ocl-icd... Optional dependencies for ocl-icd opencl-driver: packaged opencl driver installing libvpl... Optional dependencies for libvpl intel-media-sdk: runtime for legacy Intel GPUs onevpl-intel-gpu: runtime for Tiger Lake and newer GPUs installing opencore-amr... installing openjpeg2... installing rav1e... installing fftw... Optional dependencies for fftw fftw-openmpi: for OpenMPI integration installing rubberband... installing libxcursor... installing hidapi... Optional dependencies for hidapi libusb: for hidapi-libusb [installed] installing sdl2... Optional dependencies for sdl2 alsa-lib: ALSA audio driver [installed] libpulse: PulseAudio audio driver [installed] jack: JACK audio driver [installed] pipewire: PipeWire audio driver libdecor: Wayland client decorations installing snappy... installing speexdsp... installing speex... installing srt... installing svt-av1... installing hicolor-icon-theme... installing v4l-utils... Optional dependencies for v4l-utils qt5-base: for qv4l2 and qvidcap alsa-lib: for qv4l2 [installed] installing zimg... installing libnsl... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing vapoursynth... installing vid.stab... installing vmaf... installing l-smash... installing x264... installing x265... installing xvidcore... installing ffmpeg... Optional dependencies for ffmpeg avisynthplus: AviSynthPlus support frei0r-plugins: Frei0r video effects support intel-media-sdk: Intel QuickSync support (legacy) ladspa: LADSPA filters nvidia-utils: Nvidia NVDEC/NVENC support onevpl-intel-gpu: Intel QuickSync support installing kcoreaddons... Optional dependencies for kcoreaddons qt6-declarative: QML bindings [installed] installing iso-codes... installing ki18n... Optional dependencies for ki18n python: to compile .ts files [installed] qt6-declarative: ktranscript plugin and QML bindings [installed] installing libepoxy... installing libpipewire... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cppdap... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator qt6-base: cmake-gui [installed] installing extra-cmake-modules... Optional dependencies for extra-cmake-modules python-pyxdg: to generate fastlane metadata for Android apps python-requests: to generate fastlane metadata for Android apps python-yaml: to generate fastlane metadata for Android apps installing plasma-wayland-protocols... :: Running post-transaction hooks... (1/7) Reloading system manager configuration... Skipped: Current root is not booted. (2/7) Reloading user manager configuration... Skipped: Current root is not booted. (3/7) Reloading device manager configuration... Skipped: Device manager is not running. (4/7) Arming ConditionNeedsUpdate... (5/7) Updating the MIME type database... (6/7) Probing GDK-Pixbuf loader modules... (7/7) Updating the info directory file... ==> Making package: kpipewire 5.92.0-1 (Wed 06 Mar 2024 03:20:36 AM CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating kpipewire git repo... From https://github.com/KDE/kpipewire 0e87b58..b99d882 Plasma/5.27 -> Plasma/5.27 ecca40e..df052bf Plasma/6.0 -> Plasma/6.0 1c0bfea..fb3c2e0 master -> master * [new tag] v6.0.0 -> v6.0.0 * [new tag] v6.0.1 -> v6.0.1 ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... kpipewire ... Skipped ==> Extracting sources... -> Creating working copy of kpipewire git repo... Cloning into 'kpipewire'... done. Switched to a new branch 'makepkg' ==> Starting pkgver()... ==> Updated version: kpipewire 6.0.1.r1.gdf052bf_240306-1 ==> Starting build()... -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Installing in the same prefix as Qt, adopting their path scheme. -- Setting build type to 'Debug' as none was specified. -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_DATE_TIME -- Performing Test HAVE_DATE_TIME - Success -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib/libOpenGL.so -- Found WrapOpenGL: TRUE -- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.6.0", minimum required is "0.5.0") -- Found WrapVulkanHeaders: /usr/include -- Found Gettext: /usr/bin/msgmerge (found version "0.22.4") -- Found KF6I18n: /usr/lib/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.0.0") -- Found KF6CoreAddons: /usr/lib/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake (found version "6.0.0") -- Found KF6: success (found version "6.0.0") found components: I18n CoreAddons -- Performing Test HAVE_EGL -- Performing Test HAVE_EGL - Success -- Found EGL: /usr/include (found version "1.5") -- Checking for module 'libpipewire-0.3' -- Found libpipewire-0.3, version 1.0.3 -- Checking for module 'libavcodec' -- Found libavcodec, version 60.31.102 -- Checking for module 'libavutil' -- Found libavutil, version 58.29.100 -- Checking for module 'libavformat' -- Found libavformat, version 60.16.100 -- Checking for module 'libavfilter' -- Found libavfilter, version 9.12.100 -- Checking for module 'gbm' -- Found gbm, version 24.0.2-arch1.1 -- Checking for module 'libswscale' -- Found libswscale, version 7.5.100 -- Found epoxy: /usr/lib/libepoxy.so (found suitable version "1.5.10", minimum required is "1.3") -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.0") -- Found Libdrm: /usr/lib/libdrm.so (found suitable version "2.4.120", minimum required is "2.4.62") -- Checking for module 'libva' -- Found libva, version 1.20.0 -- Checking for module 'libva-drm' -- Found libva-drm, version 1.20.0 -- Found clang-format version 16 -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Configuring done (1.9s) -- Generating done (0.0s) -- Build files have been written to: /home/main-builder/pkgwork/src/build [ 1%] Generating ts... [ 2%] Generating mo... [ 2%] Built target KPipeWire_autogen_timestamp_deps [ 2%] Built target tsfiles-13a68fb3524ce8b2217c7fa109ba5e89 [ 4%] Automatic MOC for target KPipeWire [ 4%] Built target pofiles-13a68fb3524ce8b2217c7fa109ba5e89 [ 4%] Built target KPipeWire_autogen [ 7%] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewiresourceitem.cpp.o [ 7%] Building CXX object src/CMakeFiles/KPipeWire.dir/KPipeWire_autogen/mocs_compilation.cpp.o [ 8%] Building CXX object src/CMakeFiles/KPipeWire.dir/glhelpers.cpp.o [ 14%] Building CXX object src/CMakeFiles/KPipeWire.dir/logging.cpp.o [ 14%] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewiresourcestream.cpp.o [ 14%] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o [ 14%] Building CXX object src/CMakeFiles/KPipeWire.dir/pwhelpers.cpp.o /home/main-builder/pkgwork/src/kpipewire/src/pipewirecore.cpp:29:1: warning: missing initializer for member ‘pw_core_events::bound_props’ [-Wmissing-field-initializers] 29 | }; | ^ 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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourceitem.cpp: In member function ‘virtual void PipeWireSourceItem::releaseResources()’: /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourceitem.cpp:122:95: warning: ‘T* QScopedPointer::take() [with T = QOpenGLTexture; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations] 122 | window()->scheduleRenderJob(new DiscardEglPixmapRunnable(d->m_image, d->m_texture.take()), QQuickWindow::NoStage); | ~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt6/QtCore/qdatastream.h:7, from /usr/include/qt6/QtGui/qregion.h:14, from /usr/include/qt6/QtGui/qtransform.h:8, from /usr/include/qt6/QtGui/qimage.h:12, from /usr/include/qt6/QtGui/QImage:1, from /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourceitem.h:10, from /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourceitem.cpp:8: /usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here 130 | T *take() noexcept | ^~~~ At top level: 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 [ 15%] Linking CXX shared library ../bin/libKPipeWire.so [ 16%] Built target KPipeWire [ 16%] Built target KPipeWireDmaBuf_autogen_timestamp_deps [ 16%] Built target KPipeWireMonitorDeclarative_autogen_timestamp_deps [ 16%] Built target KPipeWireDeclarative_autogen_timestamp_deps [ 18%] Automatic MOC for target KPipeWireMonitorDeclarative [ 21%] Automatic MOC for target KPipeWireDmaBuf [ 21%] Automatic MOC for target KPipeWireDeclarative [ 21%] Built target KPipeWireDmaBuf_autogen [ 25%] Building CXX object src/CMakeFiles/KPipeWireDmaBuf.dir/KPipeWireDmaBuf_autogen/mocs_compilation.cpp.o [ 25%] Building CXX object src/CMakeFiles/KPipeWireDmaBuf.dir/dmabufhandler.cpp.o [ 25%] Building CXX object src/CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o [ 25%] Built target KPipeWireDeclarative_autogen [ 26%] Running AUTOMOC file extraction for target KPipeWireDeclarative [ 26%] Built target KPipeWireMonitorDeclarative_autogen [ 26%] Built target KPipeWireDeclarative_automoc_json_extraction [ 28%] Running moc --collect-json for target KPipeWireDeclarative [ 29%] Running rcc for resource qmake_org_kde_pipewire [ 30%] Running AUTOMOC file extraction for target KPipeWireMonitorDeclarative [ 30%] Built target KPipeWireMonitorDeclarative_automoc_json_extraction [ 32%] Generating meta_types/qt6kpipewiredeclarative_debug_metatypes.json [ 33%] Running rcc for resource qmake_org_kde_pipewire_monitor [ 35%] Running moc --collect-json for target KPipeWireMonitorDeclarative [ 36%] Automatic QML type registration for target KPipeWireDeclarative [ 38%] Generating meta_types/qt6kpipewiremonitordeclarative_debug_metatypes.json [ 39%] Automatic QML type registration for target KPipeWireMonitorDeclarative [ 40%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o [ 42%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/.rcc/qrc_qmake_org_kde_pipewire.cpp.o [ 45%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o [ 45%] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o [ 49%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp.o [ 49%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/kpipewiremonitordeclarative_qmltyperegistrations.cpp.o [ 49%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o [ 50%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/.rcc/qrc_qmake_org_kde_pipewire_monitor.cpp.o [ 52%] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/mediamonitor.cpp.o In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:19, from /home/main-builder/pkgwork/src/kpipewire/src/dmabufhandler.h:11, from /home/main-builder/pkgwork/src/kpipewire/src/dmabufhandler.cpp:4: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:20: /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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:22: /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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | 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:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | 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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | 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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | 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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | 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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | 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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | 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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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/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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /home/main-builder/pkgwork/src/kpipewire/src/monitors/mediamonitor.cpp:49:1: warning: missing initializer for member ‘pw_proxy_events::bound’ [-Wmissing-field-initializers] 49 | }; | ^ /home/main-builder/pkgwork/src/kpipewire/src/monitors/mediamonitor.cpp:49:1: warning: missing initializer for member ‘pw_proxy_events::removed’ [-Wmissing-field-initializers] /home/main-builder/pkgwork/src/kpipewire/src/monitors/mediamonitor.cpp:49:1: warning: missing initializer for member ‘pw_proxy_events::done’ [-Wmissing-field-initializers] /home/main-builder/pkgwork/src/kpipewire/src/monitors/mediamonitor.cpp:49:1: warning: missing initializer for member ‘pw_proxy_events::error’ [-Wmissing-field-initializers] /home/main-builder/pkgwork/src/kpipewire/src/monitors/mediamonitor.cpp:49:1: warning: missing initializer for member ‘pw_proxy_events::bound_props’ [-Wmissing-field-initializers] /home/main-builder/pkgwork/src/kpipewire/src/monitors/mediamonitor.cpp:54:1: warning: missing initializer for member ‘pw_node_events::param’ [-Wmissing-field-initializers] 54 | }; | ^ In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourceitem.h:15, from /home/main-builder/pkgwork/src/kpipewire/src/kpipewiredeclarativeplugin.cpp:9: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ At top level: 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/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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourceitem.h:16: /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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourceitem.h:18: /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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | 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:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | 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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | 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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | 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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | 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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | 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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | 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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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/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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ [ 53%] Linking CXX shared library ../bin/libKPipeWireDmaBuf.so 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 [ 54%] Built target KPipeWireDmaBuf [ 56%] Linking CXX shared module ../../bin/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so [ 56%] Built target KPipeWireRecord_autogen_timestamp_deps [ 57%] Automatic MOC for target KPipeWireRecord At top level: 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 [ 59%] Linking CXX shared module ../bin/org/kde/pipewire/libKPipeWireDeclarative.so [ 59%] Built target KPipeWireRecord_autogen [ 63%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/KPipeWireRecord_autogen/mocs_compilation.cpp.o [ 63%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewirebaseencodedstream.cpp.o [ 63%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewirerecord.cpp.o [ 67%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/logging_libav.cpp.o [ 67%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewireencodedstream.cpp.o [ 67%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o [ 69%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewireproduce.cpp.o [ 70%] Built target KPipeWireDeclarative [ 71%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/vaapiutils.cpp.o [ 73%] Built target KPipeWireMonitorDeclarative [ 74%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/encoder.cpp.o In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewireproduce_p.h:13, from /home/main-builder/pkgwork/src/kpipewire/src/pipewireencodedstream_p.h:9, from /home/main-builder/pkgwork/src/kpipewire/src/pipewireencodedstream.cpp:8: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *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 /home/main-builder/pkgwork/src/kpipewire/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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewireproduce_p.h:13, from /home/main-builder/pkgwork/src/kpipewire/src/pipewireproduce.cpp:7: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /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:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | 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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | const struct spa_pod_string p = SPA_POD_INIT_String(len+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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | 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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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/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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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/log.h: In function ‘void spa_log_topic_init(spa_log*, spa_log_topic*)’: /usr/include/spa-0.2/spa/utils/hook.h:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *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 /home/main-builder/pkgwork/src/kpipewire/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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:19, from /home/main-builder/pkgwork/src/kpipewire/src/dmabufhandler.h:11, from /home/main-builder/pkgwork/src/kpipewire/src/encoder_p.h:15, from /home/main-builder/pkgwork/src/kpipewire/src/pipewirerecord.cpp:8: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | 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_primitive(spa_pod_builder*, const spa_pod*)’: /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ /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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | 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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | 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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | 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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:20: /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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:22: /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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | 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:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | 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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | 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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | 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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | 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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | 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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | 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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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/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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewireproduce_p.h:13, from /home/main-builder/pkgwork/src/kpipewire/src/pipewirebaseencodedstream.cpp:20: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/h264vaapiencoder.cpp.o /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ [ 77%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libx264encoder.cpp.o In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/main-builder/pkgwork/src/kpipewire/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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | 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:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | 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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | 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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | 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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | 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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | 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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | 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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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/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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:19, from /home/main-builder/pkgwork/src/kpipewire/src/dmabufhandler.h:11, from /home/main-builder/pkgwork/src/kpipewire/src/encoder_p.h:15, from /home/main-builder/pkgwork/src/kpipewire/src/encoder.cpp:9: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:20: /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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:22: /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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | 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:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | 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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | 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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | 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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | 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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | 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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | 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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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/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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ [ 78%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o At top level: 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 [ 80%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o At top level: 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 top level: 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 top level: 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 top level: 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 In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:19, from /home/main-builder/pkgwork/src/kpipewire/src/dmabufhandler.h:11, from /home/main-builder/pkgwork/src/kpipewire/src/encoder_p.h:15, from /home/main-builder/pkgwork/src/kpipewire/src/h264vaapiencoder_p.h:9, from /home/main-builder/pkgwork/src/kpipewire/src/h264vaapiencoder.cpp:9: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:19, from /home/main-builder/pkgwork/src/kpipewire/src/dmabufhandler.h:11, from /home/main-builder/pkgwork/src/kpipewire/src/encoder_p.h:15, from /home/main-builder/pkgwork/src/kpipewire/src/libx264encoder_p.h:9, from /home/main-builder/pkgwork/src/kpipewire/src/libx264encoder.cpp:9: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:20: /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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /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:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:22: /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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | 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:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | 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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | 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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | 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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | 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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | 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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | 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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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 ‘spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)’: /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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_join(spa_thread_utils*, spa_thread*, void**)’: /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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/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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:20: /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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:22: /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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | 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:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | 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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | 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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | 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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | 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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | 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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | 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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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/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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:19, from /home/main-builder/pkgwork/src/kpipewire/src/dmabufhandler.h:11, from /home/main-builder/pkgwork/src/kpipewire/src/encoder_p.h:15, from /home/main-builder/pkgwork/src/kpipewire/src/libvpxencoder_p.h:9, from /home/main-builder/pkgwork/src/kpipewire/src/libvpxencoder.cpp:9: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:20: /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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:22: /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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | 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:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | 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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | 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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | 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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | 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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | 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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | 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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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/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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At top level: 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 top level: 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 In file included from /usr/include/spa-0.2/spa/support/plugin.h:13, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:19, from /home/main-builder/pkgwork/src/kpipewire/src/dmabufhandler.h:11, from /home/main-builder/pkgwork/src/kpipewire/src/encoder_p.h:15, from /home/main-builder/pkgwork/src/kpipewire/src/libvpxvp9encoder_p.h:10, from /home/main-builder/pkgwork/src/kpipewire/src/libvpxvp9encoder.cpp:10: /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:31:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 31 | #define SPA_DICT_ITEM_INIT(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:70:42: note: in expansion of macro ‘SPA_DICT_ITEM_INIT’ 70 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:12: /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:142:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 142 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:100:25: note: in expansion of macro ‘SPA_MAX’ 100 | alloc = SPA_MAX(alloc, arr->extend); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/pipewire-0.3/pipewire/proxy.h:12, from /usr/include/pipewire-0.3/pipewire/client.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:15: /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:27:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 27 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:31:17: note: in expansion of macro ‘SPA_LIST_INIT’ 31 | *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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:367:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 367 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:377:20: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 377 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:382:29: note: in expansion of macro ‘SPA_MIN’ 382 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/context.h:48, from /usr/include/pipewire-0.3/pipewire/protocol.h:26, from /usr/include/pipewire-0.3/pipewire/proxy.h:90: /usr/include/pipewire-0.3/pipewire/core.h: In function ‘int pw_core_errorv(pw_core*, uint32_t, int, int, const char*, __va_list_tag*)’: /usr/include/pipewire-0.3/pipewire/core.h:318:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 318 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:320:9: note: in expansion of macro ‘spa_interface_call_res’ 320 | spa_interface_call_res((struct spa_interface*)o, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:330:41: note: in expansion of macro ‘pw_core_method’ 330 | #define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__) | ^~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:341:16: note: in expansion of macro ‘pw_core_error’ 341 | return pw_core_error(core, id, seq, res, buffer); | ^~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:361:9: note: in expansion of macro ‘spa_interface_call_res’ 361 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:376:9: note: in expansion of macro ‘spa_interface_call_res’ 376 | spa_interface_call_res((struct spa_interface*)core, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:517:9: note: in expansion of macro ‘spa_interface_call_res’ 517 | spa_interface_call_res((struct spa_interface*)registry, | ^~~~~~~~~~~~~~~~~~~~~~ /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:157:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 157 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:230:9: note: in expansion of macro ‘spa_callbacks_call’ 230 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:202:9: note: in expansion of macro ‘spa_interface_call’ 202 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:65:9: note: in expansion of macro ‘spa_interface_call_res’ 65 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:77:9: note: in expansion of macro ‘spa_interface_call_res’ 77 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:89:9: note: in expansion of macro ‘spa_interface_call_res’ 89 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:101:9: note: in expansion of macro ‘spa_interface_call_res’ 101 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:243:9: note: in expansion of macro ‘spa_callbacks_call_res’ 243 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:113:9: note: in expansion of macro ‘spa_interface_call_res’ 113 | spa_interface_call_res(&o->iface, | ^~~~~~~~~~~~~~~~~~~~~~ /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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:331:20: note: in expansion of macro ‘SPA_MIN’ 331 | 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:136:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 136 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:347:35: note: in expansion of macro ‘SPA_MIN’ 347 | *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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:20: /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:36:93: warning: ISO C++ forbids compound-literals [-Wpedantic] 36 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {} }) | ^ /usr/include/spa-0.2/spa/pod/parser.h:41:19: note: in expansion of macro ‘SPA_POD_PARSER_INIT’ 41 | *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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:24:16: note: in expansion of macro ‘spa_pod_parse_object’ 24 | 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:125:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 125 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:64:30: note: in expansion of macro ‘SPA_CALLBACKS_INIT’ 64 | 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 /home/main-builder/pkgwork/src/kpipewire/src/pipewiresourcestream.h:22: /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:52:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 52 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {}, {} }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:79:20: note: in expansion of macro ‘SPA_POD_BUILDER_INIT’ 79 | *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:199:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 199 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:127:25: note: in expansion of macro ‘spa_callbacks_call_res’ 127 | 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:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:188:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 188 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:199:29: note: in expansion of macro ‘SPA_POD_INIT’ 199 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:203:34: note: in expansion of macro ‘SPA_POD_INIT_None’ 203 | 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:197:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 197 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:209:34: note: in expansion of macro ‘SPA_POD_INIT’ 209 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:72:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 72 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:210:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ 210 | 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:214:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #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:218:39: note: in expansion of macro ‘SPA_POD_INIT_Bool’ 218 | 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:222:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 222 | #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:226:37: note: in expansion of macro ‘SPA_POD_INIT_Id’ 226 | 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:230:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 230 | #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:234:38: note: in expansion of macro ‘SPA_POD_INIT_Int’ 234 | 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:238:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 238 | #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:242:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ 242 | 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:246:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 246 | #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:250:40: note: in expansion of macro ‘SPA_POD_INIT_Float’ 250 | 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:254:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 254 | #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:258:41: note: in expansion of macro ‘SPA_POD_INIT_Double’ 258 | 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:262:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 262 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:279:41: note: in expansion of macro ‘SPA_POD_INIT_String’ 279 | 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:292:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 292 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:297:40: note: in expansion of macro ‘SPA_POD_INIT_Bytes’ 297 | 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:312:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 312 | #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:317:42: note: in expansion of macro ‘SPA_POD_INIT_Pointer’ 317 | 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:321:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 321 | #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:325:37: note: in expansion of macro ‘SPA_POD_INIT_Fd’ 325 | 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:89:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 89 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:329:121: note: in definition of macro ‘SPA_POD_INIT_Rectangle’ 329 | #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:334:67: note: in expansion of macro ‘SPA_RECTANGLE’ 334 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:329:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #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:334:44: note: in expansion of macro ‘SPA_POD_INIT_Rectangle’ 334 | 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:107:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 107 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:338:117: note: in definition of macro ‘SPA_POD_INIT_Fraction’ 338 | #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:343:65: note: in expansion of macro ‘SPA_FRACTION’ 343 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:338:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #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:343:43: note: in expansion of macro ‘SPA_POD_INIT_Fraction’ 343 | 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:394:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 394 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:399:41: note: in expansion of macro ‘SPA_POD_INIT_Struct’ 399 | 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:406:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 406 | #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:413:13: note: in expansion of macro ‘SPA_POD_INIT_Object’ 413 | 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:431:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 431 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:437:13: note: in expansion of macro ‘SPA_POD_INIT_Sequence’ 437 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-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/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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-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:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | 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:553:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 553 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:531:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 531 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:556:9: note: in expansion of macro ‘spa_pod_parser_get_object’ 556 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:25:16: note: in expansion of macro ‘spa_pod_parse_object’ 25 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At top level: 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 top level: 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 [ 81%] Linking CXX shared library ../bin/libKPipeWireRecord.so [ 83%] Built target KPipeWireRecord [ 83%] Built target KPipeWireRecordDeclarative_autogen_timestamp_deps [ 84%] Automatic MOC for target KPipeWireRecordDeclarative [ 84%] Built target KPipeWireRecordDeclarative_autogen [ 85%] Running AUTOMOC file extraction for target KPipeWireRecordDeclarative [ 85%] Built target KPipeWireRecordDeclarative_automoc_json_extraction [ 87%] Running rcc for resource qmake_org_kde_pipewire_record [ 88%] Running moc --collect-json for target KPipeWireRecordDeclarative [ 90%] Generating meta_types/qt6kpipewirerecorddeclarative_debug_metatypes.json [ 91%] Automatic QML type registration for target KPipeWireRecordDeclarative [ 94%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o [ 94%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o [ 95%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o [ 97%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/.rcc/qrc_qmake_org_kde_pipewire_record.cpp.o [ 98%] Linking CXX shared module ../bin/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so [100%] Built target KPipeWireRecordDeclarative ==> Entering fakeroot environment... ==> Starting package()... -- Install configuration: "Debug" -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/qlogging-categories6/kpipewire.categories -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/qlogging-categories6/kpipewirerecord.categories -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/PipeWireSourceStream -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/PipeWireSourceItem -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/pipewiresourcestream.h -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/pipewiresourceitem.h -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/kpipewire_export.h -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/DmaBufHandler -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/dmabufhandler.h -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/kpipewiredmabuf_export.h -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/PipeWireRecord -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/PipeWireEncodedStream -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/PipeWireBaseEncodedStream -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/pipewirerecord.h -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/pipewireencodedstream.h -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/pipewirebaseencodedstream.h -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/include/KPipeWire/kpipewire_version.h -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWire.so.6.0.1 -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWire.so.6 -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWire.so -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWireRecord.so.6.0.1 -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWireRecord.so.6 -- Set non-toolchain portion of runtime path of "/home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWireRecord.so.6.0.1" to "" -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWireRecord.so -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWireDmaBuf.so.6.0.1 -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWireDmaBuf.so.6 -- Set non-toolchain portion of runtime path of "/home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWireDmaBuf.so.6.0.1" to "" -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/libKPipeWireDmaBuf.so -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/cmake/KPipeWire/KPipeWireTargets.cmake -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/cmake/KPipeWire/KPipeWireTargets-debug.cmake -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/cmake/KPipeWire/KPipeWireConfig.cmake -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/cmake/KPipeWire/KPipeWireConfigVersion.cmake -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/libKPipeWireDeclarative.so -- Set non-toolchain portion of runtime path of "/home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/libKPipeWireDeclarative.so" to "$ORIGIN/../../../../lib" -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/qmldir -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/KPipeWireDeclarative.qmltypes -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/kde-qmlmodule.version -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so -- Set non-toolchain portion of runtime path of "/home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so" to "$ORIGIN/../../../../../lib" -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/record/qmldir -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/record/KPipeWireRecordDeclarative.qmltypes -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/record/kde-qmlmodule.version -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so -- Set non-toolchain portion of runtime path of "/home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so" to "$ORIGIN/../../../../../lib" -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/monitor/qmldir -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/monitor/KPipeWireMonitorDeclarative.qmltypes -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/monitor/kde-qmlmodule.version -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ar -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ar/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ar/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ast -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ast/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ast/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/bg -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/bg/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/bg/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ca -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ca/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ca/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ca@valencia -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ca@valencia/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ca@valencia/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/cs -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/cs/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/cs/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/de -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/de/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/de/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/en_GB -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/en_GB/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/en_GB/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/eo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/eo/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/eo/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/es -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/es/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/es/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/eu -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/eu/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/eu/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/fi -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/fi/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/fi/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/fr -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/fr/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/fr/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/gl -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/gl/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/gl/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/hu -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/hu/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/hu/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ia -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ia/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ia/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/id -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/id/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/id/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/it -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/it/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/it/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ja -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ja/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ja/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ka -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ka/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ka/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ko -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ko/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ko/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/lt -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/lt/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/lt/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/nl -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/nl/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/nl/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/nn -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/nn/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/nn/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pa -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pa/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pa/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pl -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pl/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pl/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pt -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pt/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pt/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pt_BR -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pt_BR/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/pt_BR/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ro -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ro/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ro/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ru -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ru/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ru/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sa -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sa/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sa/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sk -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sk/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sk/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sl -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sl/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sl/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sv -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sv/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/sv/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ta -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ta/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/ta/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/tr -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/tr/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/tr/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/uk -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/uk/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/uk/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/zh_CN -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/zh_CN/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/zh_CN/LC_MESSAGES/kpipewire6.mo -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/zh_TW -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/zh_TW/LC_MESSAGES -- Installing: /home/main-builder/pkgwork/pkg/kpipewire/usr/share/locale/zh_TW/LC_MESSAGES/kpipewire6.mo ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "kpipewire"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Creating package "kpipewire-debug"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: kpipewire 6.0.1.r1.gdf052bf_240306-1 (Wed 06 Mar 2024 03:20:58 AM CET) umount: /tmp/alexjp/kde-git/2024-03-06/pkgs_plasma.local/kpipewire.2024-03-06_03-03-31/kpipewire/machine/root/var/pkgdest unmounted umount: /tmp/alexjp/kde-git/2024-03-06/pkgs_plasma.local/kpipewire.2024-03-06_03-03-31/kpipewire/machine/root/var/cache/pacman/pkg unmounted umount: /tmp/alexjp/kde-git/2024-03-06/pkgs_plasma.local/kpipewire.2024-03-06_03-03-31/kpipewire/machine/root/home/main-builder/pkgsrc unmounted umount: /tmp/alexjp/kde-git/2024-03-06/pkgs_plasma.local/kpipewire.2024-03-06_03-03-31/kpipewire/machine/root/home/main-builder/.ccache unmounted umount: /tmp/alexjp/kde-git/2024-03-06/pkgs_plasma.local/kpipewire.2024-03-06_03-03-31/kpipewire/machine/root/home/main-builder/pkgwork unmounted umount: /tmp/alexjp/kde-git/2024-03-06/pkgs_plasma.local/kpipewire.2024-03-06_03-03-31/kpipewire/machine/root (overlay) unmounted real 0m27.737s user 1m1.173s sys 0m16.932s