>>> kpipewire: Building community/kpipewire 6.3.5-r0 (using abuild 3.15.0_rc3-r1) started Fri, 09 May 2025 06:24:43 +0000 >>> kpipewire: Validating /home/buildozer/aports/community/kpipewire/APKBUILD... >>> kpipewire: Analyzing dependencies... >>> kpipewire: Installing for build: build-base pipewire ffmpeg-dev kcoreaddons-dev ki18n-dev kwayland-dev libdrm-dev libepoxy-dev libva-dev pipewire-dev plasma-wayland-protocols qt6-qtbase-dev qt6-qtdeclarative-dev qt6-qtwayland-dev wayland-dev extra-cmake-modules pipewire-tools samurai (1/393) Installing alsa-lib (1.2.14-r0) (2/393) Installing dbus-libs (1.16.2-r1) (3/393) Installing avahi-libs (0.8-r20) (4/393) Installing libpisp (1.2.0-r0) (5/393) Installing libcamera-ipa (0.5.0-r0) (6/393) Installing nettle (3.10.1-r0) (7/393) Installing libffi (3.4.8-r0) (8/393) Installing libtasn1 (4.20.0-r0) (9/393) Installing p11-kit (0.25.5-r2) (10/393) Installing gnutls (3.8.8-r0) (11/393) Installing eudev-libs (3.2.14-r5) (12/393) Installing xz-libs (5.8.1-r0) (13/393) Installing libunwind (1.8.1-r0) (14/393) Installing yaml (0.2.5-r2) (15/393) Installing libcamera (0.5.0-r0) (16/393) Installing libeconf (0.6.3-r0) (17/393) Installing libblkid (2.41-r7) (18/393) Installing libmount (2.41-r7) (19/393) Installing glib (2.84.1-r0) (20/393) Installing serd-libs (0.32.4-r0) (21/393) Installing zix-libs (0.6.2-r0) (22/393) Installing sord-libs (0.16.18-r0) (23/393) Installing sratom (0.6.18-r0) (24/393) Installing lilv-libs (0.24.26-r0) (25/393) Installing opus (1.5.2-r1) (26/393) Installing speexdsp (1.2.1-r2) (27/393) Installing libuv (1.50.0-r0) (28/393) Installing roc-toolkit-libs (0.4.0-r1) (29/393) Installing libogg (1.3.5-r5) (30/393) Installing libflac (1.4.3-r1) (31/393) Installing lame-libs (3.100-r5) (32/393) Installing mpg123-libs (1.32.10-r0) (33/393) Installing libvorbis (1.3.7-r2) (34/393) Installing libsndfile (1.2.2-r2) (35/393) Installing abseil-cpp-raw-logging-internal (20240722.1-r1) (36/393) Installing abseil-cpp-strings-internal (20240722.1-r1) (37/393) Installing abseil-cpp-strings (20240722.1-r1) (38/393) Installing webrtc-audio-processing-2 (2.1-r0) (39/393) Installing pipewire-libs (1.4.2-r0) (40/393) Installing pipewire (1.4.2-r0) Executing pipewire-1.4.2-r0.post-install * * The /usr/libexec/pipewire-launcher script will be removed in the future to replace it with OpenRC user-services. * (41/393) Installing libSvtAv1Enc (2.3.0-r0) (42/393) Installing aom-libs (3.11.0-r1) (43/393) Installing libxau (1.0.12-r0) (44/393) Installing libmd (1.1.0-r0) (45/393) Installing libbsd (0.12.2-r0) (46/393) Installing libxdmcp (1.1.5-r1) (47/393) Installing libxcb (1.17.0-r0) (48/393) Installing libx11 (1.8.11-r0) (49/393) Installing hwdata-pci (0.395-r0) (50/393) Installing libpciaccess (0.18.1-r0) (51/393) Installing libdrm (2.4.124-r0) (52/393) Installing libxext (1.3.6-r2) (53/393) Installing libxfixes (6.0.1-r4) (54/393) Installing wayland-libs-client (1.23.1-r3) (55/393) Installing libva (2.22.0-r1) (56/393) Installing libvdpau (1.5-r4) (57/393) Installing ffmpeg-libavutil (6.1.2-r2) (58/393) Installing libdav1d (1.5.1-r0) (59/393) Installing openexr-libiex (3.3.2-r0) (60/393) Installing openexr-libilmthread (3.3.2-r0) (61/393) Installing imath (3.1.12-r0) (62/393) Installing libdeflate (1.23-r0) (63/393) Installing openexr-libopenexrcore (3.3.2-r0) (64/393) Installing openexr-libopenexr (3.3.2-r0) (65/393) Installing giflib (5.2.2-r1) (66/393) Installing libhwy (1.0.7-r1) (67/393) Installing libjpeg-turbo (3.1.0-r0) (68/393) Installing lcms2 (2.16-r0) (69/393) Installing libpng (1.6.47-r0) (70/393) Installing libjxl (0.10.3-r2) (71/393) Installing rav1e-libs (0.7.1-r0) (72/393) Installing soxr (0.1.3-r7) (73/393) Installing ffmpeg-libswresample (6.1.2-r2) (74/393) Installing libtheora (1.1.1-r18) (75/393) Installing libvpx (1.15.0-r0) (76/393) Installing libsharpyuv (1.5.0-r0) (77/393) Installing libwebp (1.5.0-r0) (78/393) Installing libwebpmux (1.5.0-r0) (79/393) Installing x264-libs (0.164.3108-r0) (80/393) Installing numactl (2.0.18-r0) (81/393) Installing x265-libs (3.6-r0) (82/393) Installing xvidcore (1.3.7-r2) (83/393) Installing ffmpeg-libavcodec (6.1.2-r2) (84/393) Installing sdl3 (3.2.12-r0) (85/393) Installing sdl2-compat (2.32.56-r0) (86/393) Installing libbz2 (1.0.8-r6) (87/393) Installing freetype (2.13.3-r0) (88/393) Installing fontconfig (2.15.0-r3) (89/393) Installing fribidi (1.0.16-r0) (90/393) Installing graphite2 (1.3.14-r6) (91/393) Installing harfbuzz (10.2.0-r1) (92/393) Installing libunibreak (6.1-r0) (93/393) Installing libass (0.17.3-r0) (94/393) Installing libbluray (1.3.4-r1) (95/393) Installing libopenmpt (0.7.13-r0) (96/393) Installing mbedtls (3.6.3-r0) (97/393) Installing librist (0.2.10-r1) (98/393) Installing libsrt (1.5.3-r1) (99/393) Installing libssh (0.11.1-r0) (100/393) Installing libxml2 (2.13.8-r0) (101/393) Installing libsodium (1.0.20-r0) (102/393) Installing libzmq (4.3.5-r2) (103/393) Installing ffmpeg-libavformat (6.1.2-r2) (104/393) Installing libdovi (3.3.1-r1) (105/393) Installing spirv-tools (1.4.313.0-r0) (106/393) Installing glslang-libs (1.4.309.0-r0) (107/393) Installing shaderc (2024.4-r0) (108/393) Installing vulkan-loader (1.4.313.0-r0) (109/393) Installing libplacebo (6.338.2-r3) (110/393) Installing ffmpeg-libpostproc (6.1.2-r2) (111/393) Installing ffmpeg-libswscale (6.1.2-r2) (112/393) Installing vidstab (1.1.1-r0) (113/393) Installing zimg (3.0.5-r3) (114/393) Installing ffmpeg-libavfilter (6.1.2-r2) (115/393) Installing libasyncns (0.8-r4) (116/393) Installing libltdl (2.5.4-r0) (117/393) Installing orc (0.4.40-r1) (118/393) Installing tdb-libs (1.4.12-r0) (119/393) Installing libpulse (17.0-r5) (120/393) Installing v4l-utils-libs (1.28.1-r1) (121/393) Installing ffmpeg-libavdevice (6.1.2-r2) (122/393) Installing ffmpeg-dev (6.1.2-r2) (123/393) Installing tzdata (2025b-r0) (124/393) Installing libb2 (0.98.1-r3) (125/393) Installing double-conversion (3.3.1-r0) (126/393) Installing icu-data-en (76.1-r0) Executing icu-data-en-76.1-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (127/393) Installing icu-libs (76.1-r0) (128/393) Installing libpcre2-16 (10.43-r1) (129/393) Installing duktape-libs (2.7.0-r2) (130/393) Installing libproxy (0.5.9-r0) (131/393) Installing qt6-qtbase (6.8.2-r2) (132/393) Installing mariadb-connector-c (3.3.10-r0) (133/393) Installing qt6-qtbase-mysql (6.8.2-r2) (134/393) Installing unixodbc (2.3.12-r0) (135/393) Installing qt6-qtbase-odbc (6.8.2-r2) (136/393) Installing libpq (17.4-r4) (137/393) Installing qt6-qtbase-postgresql (6.8.2-r2) (138/393) Installing sqlite-libs (3.49.2-r0) (139/393) Installing qt6-qtbase-sqlite (6.8.2-r2) (140/393) Installing hicolor-icon-theme (0.18-r0) (141/393) Installing xprop (1.2.8-r0) (142/393) Installing libice (1.1.2-r0) (143/393) Installing libuuid (2.41-r7) (144/393) Installing libsm (1.2.5-r0) (145/393) Installing libxt (1.3.1-r0) (146/393) Installing libxmu (1.2.1-r0) (147/393) Installing xset (1.2.5-r1) (148/393) Installing xdg-utils (1.2.1-r1) (149/393) Installing llvm20-libs (20.1.4-r0) (150/393) Installing libelf (0.193-r0) (151/393) Installing wayland-libs-server (1.23.1-r3) (152/393) Installing mesa-gles (25.0.5-r0) (153/393) Installing qt6-qtdeclarative (6.8.2-r1) (154/393) Installing wayland-libs-cursor (1.23.1-r3) (155/393) Installing wayland-libs-egl (1.23.1-r3) (156/393) Installing xkeyboard-config (2.43-r0) (157/393) Installing libxkbcommon (1.8.1-r2) (158/393) Installing qt6-qtwayland (6.8.2-r0) (159/393) Installing libxshmfence (1.3.3-r0) (160/393) Installing mesa (25.0.5-r0) (161/393) Installing mesa-gbm (25.0.5-r0) (162/393) Installing mesa-egl (25.0.5-r0) (163/393) Installing cups-libs (2.4.11-r0) (164/393) Installing gobject-introspection (1.84.0-r0) (165/393) Installing shared-mime-info (2.4-r5) (166/393) Installing tiff (4.7.0-r0) (167/393) Installing gdk-pixbuf (2.42.12-r1) (168/393) Installing gtk-update-icon-cache (3.24.49-r1) (169/393) Installing libxcomposite (0.4.6-r5) (170/393) Installing libxrender (0.9.12-r0) (171/393) Installing libxcursor (1.2.3-r0) (172/393) Installing libxdamage (1.1.6-r5) (173/393) Installing libxi (1.8.2-r0) (174/393) Installing libxinerama (1.1.5-r4) (175/393) Installing libxrandr (1.5.4-r1) (176/393) Installing libatk-1.0 (2.56.2-r0) (177/393) Installing at-spi2-core-libs (2.56.2-r0) (178/393) Installing libxtst (1.2.5-r0) (179/393) Installing at-spi2-core (2.56.2-r0) (180/393) Installing libatk-bridge-2.0 (2.56.2-r0) (181/393) Installing pixman (0.46.0-r0) (182/393) Installing cairo (1.18.2-r1) (183/393) Installing cairo-gobject (1.18.2-r1) (184/393) Installing libepoxy (1.5.10-r1) (185/393) Installing libxft (2.3.8-r3) (186/393) Installing pango (1.56.3-r0) (187/393) Installing gtk+3.0 (3.24.49-r1) (188/393) Installing libevdev (1.13.3-r0) (189/393) Installing mtdev (1.1.7-r0) (190/393) Installing libinput-libs (1.28.1-r0) (191/393) Installing tslib (1.23-r0) (192/393) Installing xcb-util (0.4.1-r3) (193/393) Installing xcb-util-image (0.4.1-r0) (194/393) Installing xcb-util-renderutil (0.3.10-r0) (195/393) Installing xcb-util-cursor (0.1.5-r0) (196/393) Installing xcb-util-wm (0.4.2-r0) (197/393) Installing xcb-util-keysyms (0.4.1-r0) (198/393) Installing libxkbcommon-x11 (1.8.1-r2) (199/393) Installing qt6-qtbase-x11 (6.8.2-r2) (200/393) Installing libgpg-error (1.55-r0) (201/393) Installing libgcrypt (1.10.3-r1) (202/393) Installing libgpg-error-dev (1.55-r0) (203/393) Installing libgcrypt-dev (1.10.3-r1) (204/393) Installing gnutls-c++ (3.8.8-r0) (205/393) Installing libgmpxx (6.3.0-r3) (206/393) Installing gmp-dev (6.3.0-r3) (207/393) Installing nettle-dev (3.10.1-r0) (208/393) Installing libidn2-dev (2.3.7-r0) (209/393) Installing libtasn1-progs (4.20.0-r0) (210/393) Installing libtasn1-dev (4.20.0-r0) (211/393) Installing p11-kit-dev (0.25.5-r2) (212/393) Installing zlib-dev (1.3.1-r2) (213/393) Installing gnutls-dev (3.8.8-r0) (214/393) Installing gdbm (1.24-r0) (215/393) Installing gdbm-tools (1.24-r0) (216/393) Installing gdbm-dev (1.24-r0) (217/393) Installing avahi-compat-howl (0.8-r20) (218/393) Installing avahi-compat-libdns_sd (0.8-r20) (219/393) Installing avahi-glib (0.8-r20) (220/393) Installing libdaemon (0.14-r6) (221/393) Installing libevent (2.1.12-r8) (222/393) Installing avahi (0.8-r20) Executing avahi-0.8-r20.pre-install (223/393) Installing bzip2-dev (1.0.8-r6) (224/393) Installing libxml2-utils (2.13.8-r0) (225/393) Installing docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.post-install (226/393) Installing libxslt (1.1.43-r3) (227/393) Installing docbook-xsl-ns (1.79.2-r11) Executing docbook-xsl-ns-1.79.2-r11.post-install (228/393) Installing docbook-xsl-nons (1.79.2-r11) Executing docbook-xsl-nons-1.79.2-r11.post-install (229/393) Installing docbook-xsl (1.79.2-r11) (230/393) Installing xz (5.8.1-r0) (231/393) Installing gettext-asprintf (0.24-r0) (232/393) Installing gettext-libs (0.24-r0) (233/393) Installing gettext (0.24-r0) (234/393) Installing gettext-dev (0.24-r0) (235/393) Installing mpdecimal (4.0.0-r0) (236/393) Installing libpanelw (6.5_p20250503-r0) (237/393) Installing python3 (3.12.10-r0) (238/393) Installing python3-pycache-pyc0 (3.12.10-r0) (239/393) Installing pyc (3.12.10-r0) (240/393) Installing python3-pyc (3.12.10-r0) (241/393) Installing py3-parsing (3.2.3-r0) (242/393) Installing py3-parsing-pyc (3.2.3-r0) (243/393) Installing py3-packaging (25.0-r0) (244/393) Installing py3-packaging-pyc (25.0-r0) (245/393) Installing linux-headers (6.14.2-r0) (246/393) Installing libffi-dev (3.4.8-r0) (247/393) Installing bsd-compat-headers (0.7.2-r6) (248/393) Installing libformw (6.5_p20250503-r0) (249/393) Installing libmenuw (6.5_p20250503-r0) (250/393) Installing libncurses++ (6.5_p20250503-r0) (251/393) Installing ncurses-dev (6.5_p20250503-r0) (252/393) Installing libedit-dev (20250104.3.1-r0) (253/393) Installing libpcre2-32 (10.43-r1) (254/393) Installing pcre2-dev (10.43-r1) (255/393) Installing libfdisk (2.41-r7) (256/393) Installing liblastlog2 (2.41-r7) (257/393) Installing libsmartcols (2.41-r7) (258/393) Installing sqlite (3.49.2-r0) (259/393) Installing sqlite-dev (3.49.2-r0) (260/393) Installing util-linux-dev (2.41-r7) (261/393) Installing glib-dev (2.84.1-r0) (262/393) Installing libevent-dev (2.1.12-r8) (263/393) Installing avahi-dev (0.8-r20) (264/393) Installing cups-dev (2.4.11-r0) (265/393) Installing dbus-dev (1.16.2-r1) (266/393) Installing double-conversion-dev (3.3.1-r0) (267/393) Installing eudev-dev (3.2.14-r5) (268/393) Installing expat (2.7.1-r0) (269/393) Installing expat-dev (2.7.1-r0) (270/393) Installing brotli (1.1.0-r2) (271/393) Installing brotli-dev (1.1.0-r2) (272/393) Installing libpng-dev (1.6.47-r0) (273/393) Installing freetype-dev (2.13.3-r0) (274/393) Installing fontconfig-dev (2.15.0-r3) (275/393) Installing libturbojpeg (3.1.0-r0) (276/393) Installing libjpeg-turbo-dev (3.1.0-r0) (277/393) Installing libtiffxx (4.7.0-r0) (278/393) Installing libwebpdecoder (1.5.0-r0) (279/393) Installing libwebpdemux (1.5.0-r0) (280/393) Installing libwebp-dev (1.5.0-r0) (281/393) Installing zstd (1.5.7-r0) (282/393) Installing zstd-dev (1.5.7-r0) (283/393) Installing tiff-dev (4.7.0-r0) (284/393) Installing gdk-pixbuf-dev (2.42.12-r1) (285/393) Installing xorgproto (2024.1-r0) (286/393) Installing libxau-dev (1.0.12-r0) (287/393) Installing xcb-proto (1.17.0-r0) (288/393) Installing xcb-proto-pyc (1.17.0-r0) (289/393) Installing libxdmcp-dev (1.1.5-r1) (290/393) Installing libxcb-dev (1.17.0-r0) (291/393) Installing xtrans (1.5.2-r0) (292/393) Installing libx11-dev (1.8.11-r0) (293/393) Installing libpciaccess-dev (0.18.1-r0) (294/393) Installing libdrm-dev (2.4.124-r0) (295/393) Installing libxext-dev (1.3.6-r2) (296/393) Installing libxfixes-dev (6.0.1-r4) (297/393) Installing libxdamage-dev (1.1.6-r5) (298/393) Installing libxshmfence-dev (1.3.3-r0) (299/393) Installing libxxf86vm (1.1.6-r0) (300/393) Installing mesa-gl (25.0.5-r0) (301/393) Installing clang20-headers (20.1.4-r0) (302/393) Installing libclc (20.1.4-r0) (303/393) Installing spirv-llvm-translator-libs (20.1.2-r0) (304/393) Installing clang20-libs (20.1.4-r0) (305/393) Installing mesa-rusticl (25.0.5-r0) (306/393) Installing mesa-xatracker (25.0.5-r0) (307/393) Installing libxxf86vm-dev (1.1.6-r0) (308/393) Installing mesa-dev (25.0.5-r0) (309/393) Installing libepoxy-dev (1.5.10-r1) (310/393) Installing libxi-dev (1.8.2-r0) (311/393) Installing libxinerama-dev (1.1.5-r4) (312/393) Installing xz-dev (5.8.1-r0) (313/393) Installing libxml2-dev (2.13.8-r0) (314/393) Installing libxkbcommon-dev (1.8.1-r2) (315/393) Installing wayland-protocols (1.44-r0) (316/393) Installing libxtst-dev (1.2.5-r0) (317/393) Installing at-spi2-core-dev (2.56.2-r0) (318/393) Installing cairo-tools (1.18.2-r1) (319/393) Installing libxrender-dev (0.9.12-r0) (320/393) Installing pixman-dev (0.46.0-r0) (321/393) Installing util-macros (1.20.1-r0) (322/393) Installing xcb-util-dev (0.4.1-r3) (323/393) Installing cairo-dev (1.18.2-r1) (324/393) Installing fribidi-dev (1.0.16-r0) (325/393) Installing pango-tools (1.56.3-r0) (326/393) Installing harfbuzz-cairo (10.2.0-r1) (327/393) Installing harfbuzz-gobject (10.2.0-r1) (328/393) Installing harfbuzz-icu (10.2.0-r1) (329/393) Installing harfbuzz-subset (10.2.0-r1) (330/393) Installing graphite2-dev (1.3.14-r6) (331/393) Installing icu (76.1-r0) (332/393) Installing icu-dev (76.1-r0) (333/393) Installing harfbuzz-dev (10.2.0-r1) (334/393) Installing libxft-dev (2.3.8-r3) (335/393) Installing pango-dev (1.56.3-r0) (336/393) Installing wayland-dev (1.23.1-r3) (337/393) Installing libxcomposite-dev (0.4.6-r5) (338/393) Installing libxcursor-dev (1.2.3-r0) (339/393) Installing libxrandr-dev (1.5.4-r1) (340/393) Installing gtk+3.0-dev (3.24.49-r1) (341/393) Installing libb2-dev (0.98.1-r3) (342/393) Installing libinput-dev (1.28.1-r0) (343/393) Installing openssl-dev (3.5.0-r0) (344/393) Installing libpq-dev (17.4-r4) (345/393) Installing libproxy-dev (0.5.9-r0) (346/393) Installing fmt (11.2.0-r0) (347/393) Installing fmt-dev (11.2.0-r0) (348/393) Installing mariadb-connector-c-dev (3.3.10-r0) (349/393) Installing mariadb-common (11.4.5-r2) (350/393) Installing libaio (0.3.113-r2) (351/393) Installing mariadb-embedded (11.4.5-r2) (352/393) Installing mariadb-dev (11.4.5-r2) (353/393) Installing tslib-dev (1.23-r0) (354/393) Installing unixodbc-dev (2.3.12-r0) (355/393) Installing vulkan-headers (1.4.313.0-r0) (356/393) Installing vulkan-loader-dev (1.4.313.0-r0) (357/393) Installing xcb-util-image-dev (0.4.1-r0) (358/393) Installing xcb-util-renderutil-dev (0.3.10-r0) (359/393) Installing xcb-util-cursor-dev (0.1.5-r0) (360/393) Installing xcb-util-keysyms-dev (0.4.1-r0) (361/393) Installing xcb-util-wm-dev (0.4.2-r0) (362/393) Installing qt6-qtbase-dev (6.8.2-r2) (363/393) Installing kcoreaddons (6.13.0-r0) (364/393) Installing breeze-icons (6.13.0-r0) (365/393) Installing kde-default-icon-theme (6.13.0-r0) (366/393) Installing kcoreaddons-dev (6.13.0-r0) (367/393) Installing iso-codes (4.17.0-r0) (368/393) Installing iso-codes-dev (4.17.0-r0) (369/393) Installing qt6-qtshadertools (6.8.2-r0) (370/393) Installing qt6-qtshadertools-dev (6.8.2-r0) (371/393) Installing qt6-qtdeclarative-dev (6.8.2-r1) (372/393) Installing iso-codes-lang (4.17.0-r0) (373/393) Installing ki18n (6.13.0-r0) (374/393) Installing ki18n-dev (6.13.0-r0) (375/393) Installing qt6-qtbase-private-dev (6.8.2-r2) (376/393) Installing qt6-qtwayland-dev (6.8.2-r0) (377/393) Installing kwayland (6.3.5-r0) (378/393) Installing kwayland-dev (6.3.5-r0) (379/393) Installing libva-dev (2.22.0-r1) (380/393) Installing pipewire-dev (1.4.2-r0) (381/393) Installing plasma-wayland-protocols (1.16.0-r0) (382/393) Installing libarchive (3.7.9-r0) (383/393) Installing rhash-libs (1.4.5-r0) (384/393) Installing cmake (3.31.7-r0) (385/393) Installing extra-cmake-modules (6.13.0-r0) (386/393) Installing pipewire-tools (1.4.2-r0) (387/393) Installing samurai (1.2-r6) (388/393) Installing .makedepends-kpipewire (20250509.062444) (389/393) Installing dbus (1.16.2-r1) Executing dbus-1.16.2-r1.pre-install Executing dbus-1.16.2-r1.post-install (390/393) Installing dbus-openrc (1.16.2-r1) (391/393) Installing dbus-daemon-launch-helper (1.16.2-r1) (392/393) Installing avahi-openrc (0.8-r20) (393/393) Installing pipewire-openrc (1.4.2-r0) Executing busybox-1.37.0-r17.trigger Executing glib-2.84.1-r0.trigger Executing shared-mime-info-2.4-r5.trigger Executing gdk-pixbuf-2.42.12-r1.trigger Executing gtk-update-icon-cache-3.24.49-r1.trigger Executing gtk+3.0-3.24.49-r1.trigger Executing dbus-1.16.2-r1.trigger OK: 2502 MiB in 501 packages >>> kpipewire: Cleaning up srcdir >>> kpipewire: Cleaning up pkgdir >>> kpipewire: Cleaning up tmpdir >>> kpipewire: Fetching https://distfiles.alpinelinux.org/distfiles/edge/kpipewire-6.3.5.tar.xz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> kpipewire: Fetching https://download.kde.org/stable/plasma/6.3.5/kpipewire-6.3.5.tar.xz Connecting to download.kde.org ([2a01:4f8:242:53eb::4]:443) Connecting to mirror.gofoss.xyz (84.226.182.244:443) saving to '/var/cache/distfiles/edge/kpipewire-6.3.5.tar.xz.part' kpipewire-6.3.5.tar. 100% |********************************| 149k 0:00:00 ETA '/var/cache/distfiles/edge/kpipewire-6.3.5.tar.xz.part' saved >>> kpipewire: Fetching https://distfiles.alpinelinux.org/distfiles/edge/kpipewire-6.3.5.tar.xz >>> kpipewire: Checking sha512sums... kpipewire-6.3.5.tar.xz: OK >>> kpipewire: Unpacking /var/cache/distfiles/edge/kpipewire-6.3.5.tar.xz... -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.0 -- 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. -- Looking for __GLIBC__ -- Looking for __GLIBC__ - not found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_DATE_TIME -- Performing Test HAVE_DATE_TIME - Success -- Could not set up the appstream test. appstreamcli is missing. -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Performing Test HAVE_EGL -- Performing Test HAVE_EGL - Success -- Found EGL: /usr/include (found version "1.5") CMake Warning at /usr/lib/cmake/Qt6/FindGLESv2.cmake:24 (find_package): By not providing "FindPlatformGraphics.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "PlatformGraphics", but CMake did not find one. Could not find a package configuration file provided by "PlatformGraphics" with any of the following names: PlatformGraphicsConfig.cmake platformgraphics-config.cmake Add the installation prefix of "PlatformGraphics" to CMAKE_PREFIX_PATH or set "PlatformGraphics_DIR" to a directory containing one of the above files. If "PlatformGraphics" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) /usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:36 (find_dependency) /usr/lib/cmake/Qt6Gui/Qt6GuiDependencies.cmake:37 (_qt_internal_find_third_party_dependencies) /usr/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:53 (include) /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) /usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:145 (find_dependency) /usr/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:45 (_qt_internal_find_qt_dependencies) /usr/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:53 (include) /usr/lib/cmake/Qt6/Qt6Config.cmake:200 (find_package) CMakeLists.txt:15 (find_package) -- Performing Test HAVE_GLESv2 -- Performing Test HAVE_GLESv2 - Success -- Found GLESv2: /usr/include -- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.8.1", minimum required is "0.5.0") -- Found WrapVulkanHeaders: /usr/include -- Found Gettext: /usr/bin/msgmerge (found version "0.24") -- Found KF6I18n: /usr/lib/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.13.0") -- Found KF6CoreAddons: /usr/lib/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake (found version "6.13.0") -- Found KF6: success (found version "6.13.0") found components: I18n CoreAddons -- Checking for module 'libpipewire-0.3' -- Found libpipewire-0.3, version 1.4.2 -- 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 25.0.5 -- 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.4.3") -- Found Libdrm: /usr/lib/libdrm.so (found suitable version "2.4.124", minimum required is "2.4.62") -- Checking for module 'libva' -- Found libva, version 1.22.0 -- Checking for module 'libva-drm' -- Found libva-drm, version 1.22.0 CMake Warning (dev) at /usr/share/ECM/kde-modules/KDEClangFormat.cmake:109 (add_custom_command): Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming POST_BUILD to preserve backward compatibility. Policy CMP0175 is not set: add_custom_command() rejects invalid arguments. Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:39 (kde_clang_format) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Wayland_Client: /usr/lib/libwayland-client.so (found version "1.23.1") -- Found Wayland_Server: /usr/lib/libwayland-server.so (found version "1.23.1") -- Found Wayland_Cursor: /usr/lib/libwayland-cursor.so (found version "1.23.1") -- Found Wayland_Egl: /usr/lib/libwayland-egl.so (found version "18.1.0") -- Found Wayland: /usr/lib/libwayland-client.so;/usr/lib/libwayland-server.so;/usr/lib/libwayland-cursor.so;/usr/lib/libwayland-egl.so (found suitable version "1.23.1", minimum required is "1.15") -- Found WaylandScanner: /usr/bin/wayland-scanner -- Found Wayland: /usr/lib/libwayland-client.so;/usr/lib/libwayland-server.so;/usr/lib/libwayland-cursor.so;/usr/lib/libwayland-egl.so (found version "1.23.1") found components: Client -- 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 (3.0s) -- Generating done (0.2s) -- Build files have been written to: /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/build [1/115] Automatic MOC for target mediamonitortest [2/115] Automatic MOC for target KPipeWire [3/115] Generating ts... [4/115] Generating mo... [5/115] Building CXX object src/monitors/autotests/CMakeFiles/mediamonitortest.dir/mediamonitortest.cpp.o [6/115] Building CXX object src/monitors/autotests/CMakeFiles/mediamonitortest.dir/mediamonitortest_autogen/mocs_compilation.cpp.o [7/115] Building CXX object src/CMakeFiles/KPipeWire.dir/logging_vaapi.cpp.o [8/115] Building CXX object src/CMakeFiles/KPipeWire.dir/logging.cpp.o [9/115] Building CXX object src/CMakeFiles/KPipeWire.dir/vaapiutils.cpp.o [10/115] Building CXX object src/CMakeFiles/KPipeWire.dir/pwhelpers.cpp.o [11/115] Building CXX object src/CMakeFiles/KPipeWire.dir/glhelpers.cpp.o [12/115] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewiresourcestream.cpp.o [13/115] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewiresourceitem.cpp.o [14/115] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o [15/115] Building CXX object src/CMakeFiles/KPipeWire.dir/KPipeWire_autogen/mocs_compilation.cpp.o /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewirecore.cpp:31:1: warning: missing initializer for member 'pw_core_events::bound_props' [-Wmissing-field-initializers] 31 | }; | ^ 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 [16/115] Linking CXX executable bin/mediamonitortest [17/115] Linking CXX shared library bin/libKPipeWire.so.6.3.5 [18/115] Creating library symlink bin/libKPipeWire.so.6 bin/libKPipeWire.so [19/115] Automatic MOC for target KPipeWireMonitorDeclarative [20/115] Automatic MOC for target KPipeWireDmaBuf [21/115] Automatic MOC for target KPipeWireDeclarative [22/115] Generating xdp_dbus_screencast_interface.cpp, xdp_dbus_screencast_interface.h [23/115] Generating qwayland-zkde-screencast-unstable-v1.cpp [24/115] Generating qwayland-zkde-screencast-unstable-v1.h [25/115] Generating wayland-zkde-screencast-unstable-v1-protocol.c [26/115] Generating wayland-zkde-screencast-unstable-v1-client-protocol.h [27/115] Automatic MOC for target webcamtest [28/115] Automatic MOC for target xdp-recordme [29/115] Automatic MOC for target PipeWireScreencastingTest [30/115] Generating moc_xdp_dbus_screencast_interface.cpp [31/115] Building CXX object src/CMakeFiles/KPipeWireDmaBuf.dir/logging_dmabuf.cpp.o [32/115] Building CXX object src/CMakeFiles/KPipeWireDmaBuf.dir/dmabufhandler.cpp.o [33/115] Building CXX object src/CMakeFiles/KPipeWireDmaBuf.dir/KPipeWireDmaBuf_autogen/mocs_compilation.cpp.o [34/115] Automatic RCC for webcamtest.qrc [35/115] Building CXX object tests/CMakeFiles/webcamtest.dir/webcamtest_autogen/EWIEGA46WW/qrc_webcamtest.cpp.o [36/115] Building CXX object tests/CMakeFiles/webcamtest.dir/webcamtest.cpp.o [37/115] Building CXX object tests/CMakeFiles/webcamtest.dir/webcamtest_autogen/mocs_compilation.cpp.o [38/115] Automatic RCC for recordme.qrc [39/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp-recordme_autogen/EWIEGA46WW/qrc_recordme.cpp.o [40/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/RecordMe.cpp.o [41/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp_dbus_screencast_interface.cpp.o [42/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp-main.cpp.o [43/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp-recordme_autogen/mocs_compilation.cpp.o [44/115] Running AUTOMOC file extraction for target KPipeWireDeclarative [45/115] Running rcc for resource qmake_org_kde_pipewire [46/115] Running moc --collect-json for target KPipeWireDeclarative [47/115] Automatic QML type registration for target KPipeWireDeclarative [48/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o [49/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o [50/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o [51/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] 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 [52/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/qwayland-zkde-screencast-unstable-v1.cpp.o [53/115] Building C object tests/CMakeFiles/PipeWireScreencastingTest.dir/wayland-zkde-screencast-unstable-v1-protocol.c.o [54/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/screencastingrequest.cpp.o [55/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/screencasting.cpp.o [56/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/PipeWireScreencastingTest_autogen/mocs_compilation.cpp.o cc1: warning: command-line option '-Wno-zero-as-null-pointer-constant' is valid for C++/ObjC++ but not for C cc1: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics [57/115] Running AUTOMOC file extraction for target KPipeWireMonitorDeclarative [58/115] Running rcc for resource qmake_org_kde_pipewire_monitor [59/115] Running moc --collect-json for target KPipeWireMonitorDeclarative [60/115] Automatic QML type registration for target KPipeWireMonitorDeclarative [61/115] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/kpipewiremonitordeclarative_qmltyperegistrations.cpp.o [62/115] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/mediamonitor.cpp.o [63/115] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.cpp.o [64/115] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp.o [65/115] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_autogen/mocs_compilation.cpp.o cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] 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 [66/115] Linking CXX executable bin/webcamtest cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] 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/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.cpp:4: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics [67/115] Linking CXX shared library bin/libKPipeWireDmaBuf.so.6.3.5 [68/115] Creating library symlink bin/libKPipeWireDmaBuf.so.6 bin/libKPipeWireDmaBuf.so [69/115] Automatic MOC for target KPipeWireRecord cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] 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 [70/115] Linking CXX static library lib/libPipeWireScreencastingTest.a [71/115] Automatic MOC for target recordme cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourceitem.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/kpipewiredeclarativeplugin.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/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:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/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:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics [72/115] Linking CXX shared module bin/org/kde/pipewire/libKPipeWireDeclarative.so [73/115] Automatic RCC for recordme.qrc [74/115] Building CXX object tests/CMakeFiles/recordme.dir/recordme_autogen/EWIEGA46WW/qrc_recordme.cpp.o [75/115] Building CXX object tests/CMakeFiles/recordme.dir/PlasmaRecordMe.cpp.o [76/115] Building CXX object tests/CMakeFiles/recordme.dir/main.cpp.o [77/115] Building CXX object tests/CMakeFiles/recordme.dir/recordme_autogen/mocs_compilation.cpp.o cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/monitors/mediamonitor.cpp:50:1: warning: missing initializer for member 'pw_proxy_events::bound' [-Wmissing-field-initializers] 50 | }; | ^ /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/monitors/mediamonitor.cpp:50:1: warning: missing initializer for member 'pw_proxy_events::removed' [-Wmissing-field-initializers] /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/monitors/mediamonitor.cpp:50:1: warning: missing initializer for member 'pw_proxy_events::done' [-Wmissing-field-initializers] /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/monitors/mediamonitor.cpp:50:1: warning: missing initializer for member 'pw_proxy_events::error' [-Wmissing-field-initializers] /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/monitors/mediamonitor.cpp:50:1: warning: missing initializer for member 'pw_proxy_events::bound_props' [-Wmissing-field-initializers] /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/monitors/mediamonitor.cpp:55:1: warning: missing initializer for member 'pw_node_events::param' [-Wmissing-field-initializers] 55 | }; | ^ 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 [78/115] Linking CXX shared module bin/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so [79/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o [80/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o [81/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o [82/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libopenh264encoder.cpp.o [83/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libx264encoder.cpp.o [84/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/h264vaapiencoder.cpp.o [85/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/gifencoder.cpp.o [86/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/encoder.cpp.o [87/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewireproduce.cpp.o [88/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewirerecord.cpp.o [89/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewireencodedstream.cpp.o [90/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewirebaseencodedstream.cpp.o [91/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/logging_libav.cpp.o [92/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o [93/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/KPipeWireRecord_autogen/mocs_compilation.cpp.o [94/115] Linking CXX executable bin/xdp-recordme In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/libvpxencoder_p.h:9, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/libvpxencoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/libvpxvp9encoder_p.h:10, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/libvpxvp9encoder.cpp:10: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/libopenh264encoder_p.h:10, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/libopenh264encoder.cpp:10: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/libx264encoder_p.h:9, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/libx264encoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/gifencoder_p.h:6, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/gifencoder.cpp:10: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/h264vaapiencoder_p.h:9, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/h264vaapiencoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/libwebpencoder_p.h:6, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/libwebpencoder.cpp:10: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics [95/115] Linking CXX executable bin/recordme In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireproduce_p.h:13, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireencodedstream_p.h:10, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireencodedstream.cpp:8: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireproduce_p.h:14: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireproduce_p.h:16: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/encoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireproduce_p.h:13, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewirebaseencodedstream.cpp:20: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireproduce_p.h:14: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireproduce_p.h:16: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewirerecord.cpp:8: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireproduce_p.h:13, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireproduce.cpp:7: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireproduce_p.h:14: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewireproduce_p.h:16: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics [96/115] Linking CXX shared library bin/libKPipeWireRecord.so.6.3.5 [97/115] Creating library symlink bin/libKPipeWireRecord.so.6 bin/libKPipeWireRecord.so [98/115] Automatic MOC for target KPipeWireRecordDeclarative [99/115] Automatic MOC for target kpipewireheadlesstest [100/115] Running AUTOMOC file extraction for target KPipeWireRecordDeclarative [101/115] Running rcc for resource qmake_org_kde_pipewire_record [102/115] Running moc --collect-json for target KPipeWireRecordDeclarative [103/115] Automatic QML type registration for target KPipeWireRecordDeclarative [104/115] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o [105/115] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o [106/115] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o [107/115] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] 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 [108/115] Generating xdp_dbus_remotedesktop_interface.cpp, xdp_dbus_remotedesktop_interface.h [109/115] Generating moc_xdp_dbus_remotedesktop_interface.cpp [110/115] Building CXX object tests/CMakeFiles/kpipewireheadlesstest.dir/xdp_dbus_remotedesktop_interface.cpp.o [111/115] Building CXX object tests/CMakeFiles/kpipewireheadlesstest.dir/xdp_dbus_screencast_interface.cpp.o [112/115] Building CXX object tests/CMakeFiles/kpipewireheadlesstest.dir/HeadlessTest.cpp.o [113/115] Building CXX object tests/CMakeFiles/kpipewireheadlesstest.dir/kpipewireheadlesstest_autogen/mocs_compilation.cpp.o cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] 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 [114/115] Linking CXX shared module bin/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so In file included from /usr/include/spa-0.2/spa/utils/hook.h:13, from /usr/include/spa-0.2/spa/support/plugin.h:15, from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/build/src/DmaBufHandler:1, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/tests/HeadlessTest.cpp:16: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: /usr/include/spa-0.2/spa/utils/dict.h: In function 'const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)': /usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] 39 | #define SPA_DICT_ITEM(key,value) ((struct spa_dict_item) { (key), (value) }) | ^ /usr/include/spa-0.2/spa/utils/dict.h:40:39: note: in expansion of macro 'SPA_DICT_ITEM' 40 | #define SPA_DICT_ITEM_INIT(key,value) SPA_DICT_ITEM(key,value) | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/dict.h:83:42: note: in expansion of macro 'SPA_DICT_ITEM_INIT' 83 | struct spa_dict_item k = SPA_DICT_ITEM_INIT(key, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_get_interface(spa_handle*, const char*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro 'spa_api_func_r' 69 | return spa_api_func_r(int, -ENOTSUP, object, get_interface, 0, type, iface); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_clear(spa_handle*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro 'spa_api_func_r' 74 | return spa_api_func_r(int, -ENOTSUP, object, clear, 0); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'size_t spa_handle_factory_get_size(const spa_handle_factory*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro 'spa_api_func_r' 185 | return spa_api_func_r(size_t, 0, object, get_size, 1, params); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_init(const spa_handle_factory*, spa_handle*, const spa_dict*, const spa_support*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro 'spa_api_func_r' 192 | return spa_api_func_r(int, -ENOTSUP, object, init, 1, handle, info, | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/plugin.h: In function 'int spa_handle_factory_enum_interface_info(const spa_handle_factory*, const spa_interface_info**, uint32_t*)': /usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 263 | ({ \ | ^ /usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro 'spa_api_func_r' 199 | return spa_api_func_r(int, -ENOTSUP, object, enum_interface_info, 1, | ^~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/support/plugin.h:14: /usr/include/pipewire-0.3/pipewire/array.h: In function 'int pw_array_ensure_size(pw_array*, size_t)': /usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 285 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro 'SPA_ROUND_UP' 120 | alloc = SPA_ROUND_UP(need, arr->extend); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/string.h: In function 'int spa_strbuf_append(spa_strbuf*, const char*, ...)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro 'SPA_MIN' 392 | buf->pos += SPA_MIN(remain, (size_t)written); | ^~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_add_listener(pw_core*, spa_hook*, const pw_core_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro 'spa_api_method_r' 354 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_hello(pw_core*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro 'spa_api_method_r' 362 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_sync(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro 'spa_api_method_r' 370 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_pong(pw_core*, uint32_t, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro 'spa_api_method_r' 378 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_core_error(pw_core*, uint32_t, int, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro 'spa_api_method_r' 386 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'pw_registry* pw_core_get_registry(pw_core*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro 'spa_api_method_r' 419 | return spa_api_method_r(struct pw_registry*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_core_create_object(pw_core*, const char*, const char*, uint32_t, const spa_dict*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro 'spa_api_method_r' 433 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void pw_core_destroy(pw_core*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro 'spa_api_method_v' 442 | spa_api_method_v(pw_core, (struct spa_interface*)core, destroy, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_add_listener(pw_registry*, spa_hook*, const pw_registry_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro 'spa_api_method_r' 569 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'void* pw_registry_bind(pw_registry*, uint32_t, const char*, uint32_t, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro 'spa_api_method_r' 580 | return spa_api_method_r(void*, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h: In function 'int pw_registry_destroy(pw_registry*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro 'spa_api_method_r' 589 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_read(spa_system*, int, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro 'spa_api_method_fast_r' 111 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, read, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'ssize_t spa_system_write(spa_system*, int, const void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro 'spa_api_method_fast_r' 115 | return spa_api_method_fast_r(ssize_t, -ENOTSUP, spa_system, &object->iface, write, 0, fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_close(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro 'spa_api_method_fast_r' 122 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, close, 0, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_gettime(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro 'spa_api_method_fast_r' 127 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_gettime, 0, clockid, value); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_clock_getres(spa_system*, int, timespec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro 'spa_api_method_fast_r' 132 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, clock_getres, 0, clockid, res); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro 'spa_api_method_fast_r' 137 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_add(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro 'spa_api_method_fast_r' 141 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_add, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_mod(spa_system*, int, int, uint32_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro 'spa_api_method_fast_r' 145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_del(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro 'spa_api_method_fast_r' 149 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_del, 0, pfd, fd); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_pollfd_wait(spa_system*, int, spa_poll_event*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro 'spa_api_method_fast_r' 154 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_wait, 0, pfd, ev, n_ev, timeout); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro 'spa_api_method_fast_r' 159 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_create, 0, clockid, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_settime(spa_system*, int, int, const itimerspec*, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro 'spa_api_method_fast_r' 167 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_settime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_gettime(spa_system*, int, itimerspec*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro 'spa_api_method_fast_r' 174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_timerfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro 'spa_api_method_fast_r' 179 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_create(spa_system*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro 'spa_api_method_fast_r' 185 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_create, 0, flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_write(spa_system*, int, uint64_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro 'spa_api_method_fast_r' 189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_eventfd_read(spa_system*, int, uint64_t*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro 'spa_api_method_fast_r' 194 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_create(spa_system*, int, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro 'spa_api_method_fast_r' 200 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_create, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h: In function 'int spa_system_signalfd_read(spa_system*, int, int*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro 'spa_api_method_fast_r' 206 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, signalfd_read, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_add_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro 'spa_api_method_r' 140 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_update_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro 'spa_api_method_r' 145 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_remove_source(spa_loop*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro 'spa_api_method_r' 150 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_invoke(spa_loop*, spa_invoke_func_t, uint32_t, const void*, size_t, bool, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro 'spa_api_method_r' 157 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_before(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro 'spa_callbacks_call_fast' 180 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, before, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_hook_after(spa_hook_list*)': /usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 174 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro 'spa_callbacks_call_fast' 187 | spa_callbacks_call_fast(&h->cb, struct spa_loop_control_hooks, after, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_get_fd(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro 'spa_api_method_r' 282 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_add_hook(spa_loop_control*, spa_hook*, const spa_loop_control_hooks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro 'spa_api_method_v' 289 | spa_api_method_v(spa_loop_control, &object->iface, add_hook, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_enter(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro 'spa_api_method_v' 294 | spa_api_method_v(spa_loop_control, &object->iface, enter, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_control_leave(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro 'spa_api_method_v' 298 | spa_api_method_v(spa_loop_control, &object->iface, leave, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro 'spa_api_method_r' 303 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_iterate_fast(spa_loop_control*, int)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro 'spa_api_method_fast_r' 309 | return spa_api_method_fast_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_control_check(spa_loop_control*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro 'spa_api_method_r' 314 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_io(spa_loop_utils*, int, uint32_t, bool, spa_source_io_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro 'spa_api_method_r' 371 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_io(spa_loop_utils*, spa_source*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro 'spa_api_method_r' 377 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_idle(spa_loop_utils*, bool, spa_source_idle_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro 'spa_api_method_r' 384 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_enable_idle(spa_loop_utils*, spa_source*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro 'spa_api_method_r' 390 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_event(spa_loop_utils*, spa_source_event_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro 'spa_api_method_r' 396 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_signal_event(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro 'spa_api_method_r' 402 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_timer(spa_loop_utils*, spa_source_timer_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro 'spa_api_method_r' 408 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'int spa_loop_utils_update_timer(spa_loop_utils*, spa_source*, timespec*, timespec*, bool)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro 'spa_api_method_r' 415 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'spa_source* spa_loop_utils_add_signal(spa_loop_utils*, int, spa_source_signal_func_t, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro 'spa_api_method_r' 423 | return spa_api_method_r(struct spa_source *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h: In function 'void spa_loop_utils_destroy_source(spa_loop_utils*, spa_source*)': /usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 275 | ({ \ | ^ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro 'spa_api_method_v' 430 | spa_api_method_v(spa_loop_utils, &object->iface, destroy_source, 0, source); | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_add_listener(pw_client*, spa_hook*, const pw_client_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro 'spa_api_method_r' 165 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_error(pw_client*, uint32_t, int, const char*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro 'spa_api_method_r' 172 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, error, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_properties(pw_client*, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro 'spa_api_method_r' 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_get_permissions(pw_client*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro 'spa_api_method_r' 186 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, get_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h: In function 'int pw_client_update_permissions(pw_client*, uint32_t, const pw_permission*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_permissions, 0, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/pipewire-0.3/pipewire/conf.h:8, from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_init(spa_json*, const char*, size_t)': /usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 50 | #define SPA_JSON_INIT(data,size) ((struct spa_json) { (data), (data)+(size), NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:54:18: note: in expansion of macro 'SPA_JSON_INIT' 54 | *iter = SPA_JSON_INIT(data, size); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_enter(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro 'SPA_JSON_ENTER' 60 | *sub = SPA_JSON_ENTER(iter); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_save(spa_json*, spa_json*)': /usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] 63 | #define SPA_JSON_SAVE(iter) ((struct spa_json) { (iter)->cur, (iter)->end, NULL, (iter)->state, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:67:17: note: in expansion of macro 'SPA_JSON_SAVE' 67 | *save = SPA_JSON_SAVE(iter); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'void spa_json_start(spa_json*, spa_json*, const char*)': /usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] 70 | #define SPA_JSON_START(iter,p) ((struct spa_json) { (p), (iter)->end, NULL, 0, 0 }) | ^ /usr/include/spa-0.2/spa/utils/json-core.h:74:16: note: in expansion of macro 'SPA_JSON_START' 74 | *sub = SPA_JSON_START(iter,pos); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_next(spa_json*, const char**)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:141:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 141 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro 'SPA_FLAG_CLEAR' 153 | SPA_FLAG_CLEAR(flag, __KEY_FLAG); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:156:33: note: in expansion of macro 'SPA_FLAG_UPDATE' 156 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, cur == '['); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:163:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 163 | SPA_FLAG_UPDATE(iter->state, __PREV_ARRAY_FLAG, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:166:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 166 | SPA_FLAG_UPDATE(array_stack[(iter->depth-1) >> 6], mask, flag & __ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:196:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:199:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 199 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro 'SPA_FLAG_CLEAR' 91 | #define SPA_FLAG_UPDATE(field,flag,val) ((val) ? SPA_FLAG_SET((field),(flag)) : SPA_FLAG_CLEAR((field),(flag))) | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:216:41: note: in expansion of macro 'SPA_FLAG_UPDATE' 216 | SPA_FLAG_UPDATE(flag, __KEY_FLAG, !(flag & __KEY_FLAG)); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:250:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 250 | case 240 ... 247: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:253:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 253 | case 224 ... 239: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:256:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 256 | case 192 ... 223: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h:267:25: warning: range expressions in switch statements are non-standard [-Wpedantic] 267 | case 128 ... 191: | ^~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'bool spa_json_get_error(spa_json*, const char*, spa_error_location*)': /usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 159 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro 'SPA_MIN' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 153 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro 'SPA_MIN' 148 | __typeof__(a) _min_a = (a); \ | ^ /usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro 'SPA_MAX' 163 | SPA_MIN(SPA_MAX(_v, _low), _high); \ | ^~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro 'SPA_CLAMP' 369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1); | ^~~~~~~~~ /usr/include/spa-0.2/spa/utils/json-core.h: In function 'int spa_json_parse_float(const char*, int, float*)': /usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] 414 | case '+': case '-': case '0' ... '9': case '.': case 'e': case 'E': break; | ^~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_add_listener(pw_device*, spa_hook*, const pw_device_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_subscribe_params(pw_device*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_enum_params(pw_device*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h: In function 'int pw_device_set_param(pw_device*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro 'spa_api_method_r' 182 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_listener(spa_node*, spa_hook*, const spa_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro 'spa_api_method_r' 650 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_listener, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_callbacks(spa_node*, const spa_node_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro 'spa_api_method_r' 657 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_callbacks, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_sync(spa_node*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro 'spa_api_method_r' 662 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, sync, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_enum_params(spa_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro 'spa_api_method_r' 669 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_param(spa_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro 'spa_api_method_r' 676 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_set_io(spa_node*, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro 'spa_api_method_r' 682 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_send_command(spa_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro 'spa_api_method_r' 688 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, send_command, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_add_port(spa_node*, spa_direction, uint32_t, const spa_dict*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro 'spa_api_method_r' 695 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, add_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_remove_port(spa_node*, spa_direction, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro 'spa_api_method_r' 701 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, remove_port, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_enum_params(spa_node*, int, spa_direction, uint32_t, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro 'spa_api_method_r' 709 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_enum_params, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_param(spa_node*, spa_direction, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro 'spa_api_method_r' 718 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_param, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_use_buffers(spa_node*, spa_direction, uint32_t, uint32_t, spa_buffer**, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro 'spa_api_method_r' 728 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_use_buffers, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_set_io(spa_node*, spa_direction, uint32_t, uint32_t, void*, size_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro 'spa_api_method_r' 736 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_set_io, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro 'spa_api_method_r' 742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro 'spa_api_method_fast_r' 747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro 'spa_api_method_r' 752 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h: In function 'int spa_node_process_fast(spa_node*)': /usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 315 | ({ \ | ^ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 214 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro 'spa_callbacks_call_fast_res' 254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro 'spa_interface_call_fast_res' 318 | spa_interface_call_fast_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro 'spa_api_method_fast_r' 756 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, process, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h: In function 'int pw_factory_add_listener(pw_factory*, spa_hook*, const pw_factory_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro 'spa_api_method_r' 97 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_topic_init(spa_log*, spa_log_topic*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:229:9: note: in expansion of macro 'spa_interface_call' 229 | spa_interface_call(&log->iface, struct spa_log_methods, topic_init, 1, topic); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h: In function 'void spa_log_logtv(spa_log*, spa_log_level, const spa_log_topic*, const char*, int, const char*, const char*, va_list)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro 'spa_api_method_r' 123 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h: In function 'int pw_module_add_listener(pw_module*, spa_hook*, const pw_module_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro 'spa_api_method_r' 95 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_add_listener(pw_node*, spa_hook*, const pw_node_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro 'spa_api_method_r' 194 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_subscribe_params(pw_node*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro 'spa_api_method_r' 202 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_enum_params(pw_node*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro 'spa_api_method_r' 212 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_set_param(pw_node*, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro 'spa_api_method_r' 221 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h: In function 'int pw_node_send_command(pw_node*, const spa_command*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro 'spa_api_method_r' 229 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_add_listener(pw_port*, spa_hook*, const pw_port_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro 'spa_api_method_r' 155 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_subscribe_params(pw_port*, uint32_t*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro 'spa_api_method_r' 163 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h: In function 'int pw_port_enum_params(pw_port*, int, uint32_t, uint32_t, uint32_t, const spa_pod*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro 'spa_api_method_r' 173 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'spa_thread* spa_thread_utils_create(spa_thread_utils*, const spa_dict*, void* (*)(void*), void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro 'spa_api_method_r' 72 | return spa_api_method_r(struct spa_thread *, NULL, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_join(spa_thread_utils*, spa_thread*, void**)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro 'spa_api_method_r' 82 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_get_rt_range(spa_thread_utils*, const spa_dict*, int*, int*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro 'spa_api_method_r' 92 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_acquire_rt(spa_thread_utils*, spa_thread*, int)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro 'spa_api_method_r' 102 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h: In function 'int spa_thread_utils_drop_rt(spa_thread_utils*, spa_thread*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro 'spa_callbacks_call_res' 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro 'spa_interface_call_res' 284 | spa_interface_call_res(_i, struct type ##_methods, \ | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro 'spa_api_method_r' 112 | return spa_api_method_r(int, -ENOTSUP, | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'uint32_t spa_pod_copy_array(const spa_pod*, uint32_t, void*, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro 'SPA_MIN' 345 | n_values = SPA_MIN(n_values, max_values); | ^~~~~~~ /usr/include/spa-0.2/spa/pod/iter.h: In function 'spa_pod* spa_pod_get_values(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro 'SPA_MIN' 361 | *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); | ^~~~~~~ In file included from /usr/include/spa-0.2/spa/param/format-utils.h:18, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro 'spa_pod_parse_object' 32 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_set_callbacks(spa_pod_builder*, const spa_pod_builder_callbacks*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:72:30: note: in expansion of macro 'SPA_CALLBACKS_INIT' 72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.5/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_primitive(spa_pod_builder*, const spa_pod*)': /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro 'SPA_FLAG_CLEAR' 205 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_none(spa_pod_builder*)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:216:29: note: in expansion of macro 'SPA_POD_INIT' 216 | #define SPA_POD_INIT_None() SPA_POD_INIT(0, SPA_TYPE_None) | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:220:34: note: in expansion of macro 'SPA_POD_INIT_None' 220 | const struct spa_pod p = SPA_POD_INIT_None(); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_child(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] 214 | #define SPA_POD_INIT(size,type) ((struct spa_pod) { (size), (type) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:226:34: note: in expansion of macro 'SPA_POD_INIT' 226 | const struct spa_pod p = SPA_POD_INIT(size,type); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 83 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro 'SPA_FLAG_CLEAR' 227 | SPA_FLAG_CLEAR(builder->state.flags, SPA_POD_BUILDER_FLAG_FIRST); | ^~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bool(spa_pod_builder*, bool)': /usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] 231 | #define SPA_POD_INIT_Bool(val) ((struct spa_pod_bool){ { sizeof(uint32_t), SPA_TYPE_Bool }, (val) ? 1 : 0, 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:235:39: note: in expansion of macro 'SPA_POD_INIT_Bool' 235 | const struct spa_pod_bool p = SPA_POD_INIT_Bool(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_id(spa_pod_builder*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] 239 | #define SPA_POD_INIT_Id(val) ((struct spa_pod_id){ { sizeof(uint32_t), SPA_TYPE_Id }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:243:37: note: in expansion of macro 'SPA_POD_INIT_Id' 243 | const struct spa_pod_id p = SPA_POD_INIT_Id(val); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_int(spa_pod_builder*, int32_t)': /usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 247 | #define SPA_POD_INIT_Int(val) ((struct spa_pod_int){ { sizeof(int32_t), SPA_TYPE_Int }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:251:38: note: in expansion of macro 'SPA_POD_INIT_Int' 251 | const struct spa_pod_int p = SPA_POD_INIT_Int(val); | ^~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_long(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro 'SPA_POD_INIT_Long' 259 | const struct spa_pod_long p = SPA_POD_INIT_Long(val); | ^~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_float(spa_pod_builder*, float)': /usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] 263 | #define SPA_POD_INIT_Float(val) ((struct spa_pod_float){ { sizeof(float), SPA_TYPE_Float }, (val), 0 }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:267:40: note: in expansion of macro 'SPA_POD_INIT_Float' 267 | const struct spa_pod_float p = SPA_POD_INIT_Float(val); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_double(spa_pod_builder*, double)': /usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] 271 | #define SPA_POD_INIT_Double(val) ((struct spa_pod_double){ { sizeof(double), SPA_TYPE_Double }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:275:41: note: in expansion of macro 'SPA_POD_INIT_Double' 275 | const struct spa_pod_double p = SPA_POD_INIT_Double(val); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_string_len(spa_pod_builder*, const char*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] 279 | #define SPA_POD_INIT_String(len) ((struct spa_pod_string){ { (len), SPA_TYPE_String } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:296:41: note: in expansion of macro 'SPA_POD_INIT_String' 296 | const struct spa_pod_string p = SPA_POD_INIT_String(len+1); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_bytes(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] 309 | #define SPA_POD_INIT_Bytes(len) ((struct spa_pod_bytes){ { (len), SPA_TYPE_Bytes } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:314:40: note: in expansion of macro 'SPA_POD_INIT_Bytes' 314 | const struct spa_pod_bytes p = SPA_POD_INIT_Bytes(len); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_pointer(spa_pod_builder*, uint32_t, const void*)': /usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] 329 | #define SPA_POD_INIT_Pointer(type,value) ((struct spa_pod_pointer){ { sizeof(struct spa_pod_pointer_body), SPA_TYPE_Pointer }, { (type), 0, (value) } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:334:42: note: in expansion of macro 'SPA_POD_INIT_Pointer' 334 | const struct spa_pod_pointer p = SPA_POD_INIT_Pointer(type, val); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fd(spa_pod_builder*, int64_t)': /usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] 338 | #define SPA_POD_INIT_Fd(fd) ((struct spa_pod_fd){ { sizeof(int64_t), SPA_TYPE_Fd }, (fd) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:342:37: note: in expansion of macro 'SPA_POD_INIT_Fd' 342 | const struct spa_pod_fd p = SPA_POD_INIT_Fd(fd); | ^~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_rectangle(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 100 | #define SPA_RECTANGLE(width,height) ((struct spa_rectangle){ (width), (height) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:346:121: note: in definition of macro 'SPA_POD_INIT_Rectangle' 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:351:67: note: in expansion of macro 'SPA_RECTANGLE' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:346:126: warning: ISO C++ forbids compound-literals [-Wpedantic] 346 | #define SPA_POD_INIT_Rectangle(val) ((struct spa_pod_rectangle){ { sizeof(struct spa_rectangle), SPA_TYPE_Rectangle }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:351:44: note: in expansion of macro 'SPA_POD_INIT_Rectangle' 351 | const struct spa_pod_rectangle p = SPA_POD_INIT_Rectangle(SPA_RECTANGLE(width, height)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_fraction(spa_pod_builder*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] 118 | #define SPA_FRACTION(num,denom) ((struct spa_fraction){ (num), (denom) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:355:117: note: in definition of macro 'SPA_POD_INIT_Fraction' 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^~~ /usr/include/spa-0.2/spa/pod/builder.h:360:65: note: in expansion of macro 'SPA_FRACTION' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h:355:122: warning: ISO C++ forbids compound-literals [-Wpedantic] 355 | #define SPA_POD_INIT_Fraction(val) ((struct spa_pod_fraction){ { sizeof(struct spa_fraction), SPA_TYPE_Fraction }, (val) }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:360:43: note: in expansion of macro 'SPA_POD_INIT_Fraction' 360 | const struct spa_pod_fraction p = SPA_POD_INIT_Fraction(SPA_FRACTION(num, denom)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_struct(spa_pod_builder*, spa_pod_frame*)': /usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] 411 | #define SPA_POD_INIT_Struct(size) ((struct spa_pod_struct){ { (size), SPA_TYPE_Struct } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:416:41: note: in expansion of macro 'SPA_POD_INIT_Struct' 416 | const struct spa_pod_struct p = SPA_POD_INIT_Struct(0); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_object(spa_pod_builder*, spa_pod_frame*, uint32_t, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] 423 | #define SPA_POD_INIT_Object(size,type,id,...) ((struct spa_pod_object){ { (size), SPA_TYPE_Object }, { (type), (id) }, ##__VA_ARGS__ }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:430:13: note: in expansion of macro 'SPA_POD_INIT_Object' 430 | SPA_POD_INIT_Object(sizeof(struct spa_pod_object_body), type, id); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_push_sequence(spa_pod_builder*, spa_pod_frame*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] 448 | ((struct spa_pod_sequence){ { (size), SPA_TYPE_Sequence}, {(unit), 0 } }) | ^ /usr/include/spa-0.2/spa/pod/builder.h:454:13: note: in expansion of macro 'SPA_POD_INIT_Sequence' 454 | SPA_POD_INIT_Sequence(sizeof(struct spa_pod_sequence_body), unit); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h: In function 'int spa_format_video_raw_parse(const spa_pod*, spa_video_info_raw*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h: In function 'int spa_format_video_dsp_parse(const spa_pod*, spa_video_info_dsp*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro 'spa_pod_parse_object' 41 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h: In function 'int spa_format_video_h264_parse(const spa_pod*, spa_video_info_h264*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h: In function 'int spa_format_video_mjpg_parse(const spa_pod*, spa_video_info_mjpg*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/parser.h:539:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 539 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro 'spa_pod_parser_get_object' 564 | spa_pod_parser_get_object(&_p,type,id,##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro 'spa_pod_parse_object' 33 | return spa_pod_parse_object(format, | ^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics [115/115] Linking CXX executable bin/kpipewireheadlesstest >>> kpipewire: Entering fakeroot... -- Install configuration: "RelWithDebInfo" -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/qlogging-categories6/kpipewire.categories -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/qlogging-categories6/kpipewirerecord.categories -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/PipeWireSourceStream -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/PipeWireSourceItem -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/pipewiresourcestream.h -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/pipewiresourceitem.h -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/kpipewire_export.h -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/DmaBufHandler -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/dmabufhandler.h -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/kpipewiredmabuf_export.h -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/PipeWireRecord -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/PipeWireEncodedStream -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/PipeWireBaseEncodedStream -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/pipewirerecord.h -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/pipewireencodedstream.h -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/pipewirebaseencodedstream.h -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/include/KPipeWire/kpipewire_version.h -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWire.so.6.3.5 -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWire.so.6 -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWire.so -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWireRecord.so.6.3.5 -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWireRecord.so.6 -- Set non-toolchain portion of runtime path of "/home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWireRecord.so.6.3.5" to "" -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWireRecord.so -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWireDmaBuf.so.6.3.5 -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWireDmaBuf.so.6 -- Set non-toolchain portion of runtime path of "/home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWireDmaBuf.so.6.3.5" to "" -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/libKPipeWireDmaBuf.so -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/cmake/KPipeWire/KPipeWireTargets.cmake -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/cmake/KPipeWire/KPipeWireTargets-relwithdebinfo.cmake -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/cmake/KPipeWire/KPipeWireConfig.cmake -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/cmake/KPipeWire/KPipeWireConfigVersion.cmake -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/libKPipeWireDeclarative.so -- Set non-toolchain portion of runtime path of "/home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/libKPipeWireDeclarative.so" to "$ORIGIN/../../../../lib" -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/qmldir -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/KPipeWireDeclarative.qmltypes -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/kde-qmlmodule.version -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so -- Set non-toolchain portion of runtime path of "/home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so" to "$ORIGIN/../../../../../lib" -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/record/qmldir -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/record/KPipeWireRecordDeclarative.qmltypes -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/record/kde-qmlmodule.version -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so -- Set non-toolchain portion of runtime path of "/home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so" to "$ORIGIN/../../../../../lib" -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/monitor/qmldir -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/monitor/KPipeWireMonitorDeclarative.qmltypes -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/lib/qt6/qml/org/kde/pipewire/monitor/kde-qmlmodule.version -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/lv -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/lv/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/lv/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ca -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ca/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ca/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/en_GB -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/en_GB/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/en_GB/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/nn -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/nn/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/nn/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ko -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ko/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ko/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/is -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/is/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/is/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pa -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pa/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pa/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/bg -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/bg/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/bg/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/zh_TW -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/zh_TW/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/zh_TW/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/gl -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/gl/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/gl/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/uk -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/uk/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/uk/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ja -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ja/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ja/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/cs -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/cs/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/cs/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/tr -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/tr/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/tr/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sl -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sl/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sl/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/zh_CN -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/zh_CN/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/zh_CN/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/eo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/eo/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/eo/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pt_BR -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pt_BR/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pt_BR/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pl -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pl/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pl/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ru -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ru/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ru/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/es -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/es/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/es/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/id -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/id/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/id/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/fi -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/fi/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/fi/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/hi -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/hi/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/hi/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sk -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sk/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sk/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/lt -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/lt/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/lt/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/de -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/de/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/de/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/it -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/it/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/it/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ro -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ro/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ro/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/fr -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/fr/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/fr/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ar -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ar/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ar/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sv -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sv/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sv/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sa -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sa/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/sa/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ast -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ast/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ast/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ia -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ia/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ia/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/hu -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/hu/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/hu/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ta -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ta/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ta/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/eu -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/eu/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/eu/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ca@valencia -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ca@valencia/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ca@valencia/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ka -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ka/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/ka/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/nl -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/nl/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/nl/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pt -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pt/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/pt/LC_MESSAGES/kpipewire6.mo -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/he -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/he/LC_MESSAGES -- Installing: /home/buildozer/aports/community/kpipewire/pkg/kpipewire/usr/share/locale/he/LC_MESSAGES/kpipewire6.mo >>> kpipewire-dev*: Running split function dev... 'usr/include' -> '/home/buildozer/aports/community/kpipewire/pkg/kpipewire-dev/usr/include' 'usr/lib/cmake' -> '/home/buildozer/aports/community/kpipewire/pkg/kpipewire-dev/usr/lib/cmake' 'usr/lib/libKPipeWire.so' -> '/home/buildozer/aports/community/kpipewire/pkg/kpipewire-dev/usr/lib/libKPipeWire.so' 'usr/lib/libKPipeWireDmaBuf.so' -> '/home/buildozer/aports/community/kpipewire/pkg/kpipewire-dev/usr/lib/libKPipeWireDmaBuf.so' 'usr/lib/libKPipeWireRecord.so' -> '/home/buildozer/aports/community/kpipewire/pkg/kpipewire-dev/usr/lib/libKPipeWireRecord.so' >>> kpipewire-dev*: Preparing subpackage kpipewire-dev... >>> kpipewire-dev*: Stripping binaries >>> kpipewire-dev*: Running postcheck for kpipewire-dev >>> kpipewire-lang*: Running split function lang... 'usr/share/locale' -> '/home/buildozer/aports/community/kpipewire/pkg/kpipewire-lang/usr/share/locale' >>> kpipewire-lang*: Preparing subpackage kpipewire-lang... >>> kpipewire-lang*: Running postcheck for kpipewire-lang >>> kpipewire*: Running postcheck for kpipewire >>> kpipewire*: Preparing package kpipewire... >>> kpipewire*: Stripping binaries >>> kpipewire-dev*: Scanning shared objects >>> kpipewire-lang*: Scanning shared objects >>> kpipewire*: Scanning shared objects >>> kpipewire-dev*: Tracing dependencies... ffmpeg-dev kcoreaddons-dev ki18n-dev kwayland-dev libdrm-dev libepoxy-dev libva-dev pipewire-dev plasma-wayland-protocols qt6-qtbase-dev qt6-qtdeclarative-dev qt6-qtwayland-dev wayland-dev kpipewire=6.3.5-r0 >>> kpipewire-dev*: Package size: 31.7 KB >>> kpipewire-dev*: Compressing data... >>> kpipewire-dev*: Create checksum... >>> kpipewire-dev*: Create kpipewire-dev-6.3.5-r0.apk >>> kpipewire-lang*: Tracing dependencies... >>> kpipewire-lang*: Package size: 40.2 KB >>> kpipewire-lang*: Compressing data... >>> kpipewire-lang*: Create checksum... >>> kpipewire-lang*: Create kpipewire-lang-6.3.5-r0.apk >>> kpipewire*: Tracing dependencies... pipewire so:libKF6CoreAddons.so.6 so:libKF6I18n.so.6 so:libQt6Core.so.6 so:libQt6Gui.so.6 so:libQt6OpenGL.so.6 so:libQt6Qml.so.6 so:libQt6Quick.so.6 so:libavcodec.so.60 so:libavfilter.so.9 so:libavformat.so.60 so:libavutil.so.58 so:libc.musl-aarch64.so.1 so:libdrm.so.2 so:libepoxy.so.0 so:libgbm.so.1 so:libpipewire-0.3.so.0 so:libstdc++.so.6 so:libva-drm.so.2 so:libva.so.2 >>> kpipewire*: Package size: 597.0 KB >>> kpipewire*: Compressing data... >>> kpipewire*: Create checksum... >>> kpipewire*: Create kpipewire-6.3.5-r0.apk >>> kpipewire: Build complete at Fri, 09 May 2025 06:25:42 +0000 elapsed time 0h 0m 59s >>> kpipewire: Cleaning up srcdir >>> kpipewire: Cleaning up pkgdir >>> kpipewire: Uninstalling dependencies... (1/393) Purging .makedepends-kpipewire (20250509.062444) (2/393) Purging ffmpeg-dev (6.1.2-r2) (3/393) Purging ffmpeg-libavdevice (6.1.2-r2) (4/393) Purging ffmpeg-libavfilter (6.1.2-r2) (5/393) Purging ffmpeg-libavformat (6.1.2-r2) (6/393) Purging ffmpeg-libpostproc (6.1.2-r2) (7/393) Purging ffmpeg-libswscale (6.1.2-r2) (8/393) Purging kcoreaddons-dev (6.13.0-r0) (9/393) Purging kde-default-icon-theme (6.13.0-r0) (10/393) Purging breeze-icons (6.13.0-r0) (11/393) Purging kcoreaddons (6.13.0-r0) (12/393) Purging ki18n-dev (6.13.0-r0) (13/393) Purging iso-codes-dev (4.17.0-r0) (14/393) Purging iso-codes (4.17.0-r0) (15/393) Purging ki18n (6.13.0-r0) (16/393) Purging iso-codes-lang (4.17.0-r0) (17/393) Purging kwayland-dev (6.3.5-r0) (18/393) Purging kwayland (6.3.5-r0) (19/393) Purging libva-dev (2.22.0-r1) (20/393) Purging pipewire-dev (1.4.2-r0) (21/393) Purging plasma-wayland-protocols (1.16.0-r0) (22/393) Purging qt6-qtwayland-dev (6.8.2-r0) (23/393) Purging qt6-qtbase-private-dev (6.8.2-r2) (24/393) Purging qt6-qtwayland (6.8.2-r0) (25/393) Purging extra-cmake-modules (6.13.0-r0) (26/393) Purging cmake (3.31.7-r0) (27/393) Purging pipewire-tools (1.4.2-r0) (28/393) Purging pipewire-openrc (1.4.2-r0) (29/393) Purging pipewire (1.4.2-r0) (30/393) Purging samurai (1.2-r6) (31/393) Purging at-spi2-core (2.56.2-r0) (32/393) Purging avahi-openrc (0.8-r20) (33/393) Purging dbus-openrc (1.16.2-r1) (34/393) Purging dbus-daemon-launch-helper (1.16.2-r1) (35/393) Purging dbus (1.16.2-r1) (36/393) Purging ffmpeg-libavcodec (6.1.2-r2) (37/393) Purging ffmpeg-libswresample (6.1.2-r2) (38/393) Purging libarchive (3.7.9-r0) (39/393) Purging libass (0.17.3-r0) (40/393) Purging libbluray (1.3.4-r1) (41/393) Purging libdav1d (1.5.1-r0) (42/393) Purging libjxl (0.10.3-r2) (43/393) Purging libopenmpt (0.7.13-r0) (44/393) Purging libplacebo (6.338.2-r3) (45/393) Purging libpulse (17.0-r5) (46/393) Purging librist (0.2.10-r1) (47/393) Purging libsrt (1.5.3-r1) (48/393) Purging libssh (0.11.1-r0) (49/393) Purging libSvtAv1Enc (2.3.0-r0) (50/393) Purging libtheora (1.1.1-r18) (51/393) Purging libunibreak (6.1-r0) (52/393) Purging libvpx (1.15.0-r0) (53/393) Purging libzmq (4.3.5-r2) (54/393) Purging mbedtls (3.6.3-r0) (55/393) Purging openexr-libopenexr (3.3.2-r0) (56/393) Purging openexr-libopenexrcore (3.3.2-r0) (57/393) Purging orc (0.4.40-r1) (58/393) Purging pipewire-libs (1.4.2-r0) (59/393) Purging py3-packaging-pyc (25.0-r0) (60/393) Purging py3-parsing-pyc (3.2.3-r0) (61/393) Purging python3-pyc (3.12.10-r0) (62/393) Purging python3-pycache-pyc0 (3.12.10-r0) (63/393) Purging xcb-proto-pyc (1.17.0-r0) (64/393) Purging pyc (3.12.10-r0) (65/393) Purging qt6-qtdeclarative-dev (6.8.2-r1) (66/393) Purging qt6-qtshadertools-dev (6.8.2-r0) (67/393) Purging qt6-qtshadertools (6.8.2-r0) (68/393) Purging rav1e-libs (0.7.1-r0) (69/393) Purging rhash-libs (1.4.5-r0) (70/393) Purging roc-toolkit-libs (0.4.0-r1) (71/393) Purging sdl2-compat (2.32.56-r0) (72/393) Purging sdl3 (3.2.12-r0) (73/393) Purging shaderc (2024.4-r0) (74/393) Purging soxr (0.1.3-r7) (75/393) Purging speexdsp (1.2.1-r2) (76/393) Purging tdb-libs (1.4.12-r0) (77/393) Purging v4l-utils-libs (1.28.1-r1) (78/393) Purging vidstab (1.1.1-r0) (79/393) Purging webrtc-audio-processing-2 (2.1-r0) (80/393) Purging x264-libs (0.164.3108-r0) (81/393) Purging x265-libs (3.6-r0) (82/393) Purging xvidcore (1.3.7-r2) (83/393) Purging zimg (3.0.5-r3) (84/393) Purging abseil-cpp-strings (20240722.1-r1) (85/393) Purging abseil-cpp-strings-internal (20240722.1-r1) (86/393) Purging abseil-cpp-raw-logging-internal (20240722.1-r1) (87/393) Purging libsndfile (1.2.2-r2) (88/393) Purging alsa-lib (1.2.14-r0) (89/393) Purging aom-libs (3.11.0-r1) (90/393) Purging qt6-qtbase-dev (6.8.2-r2) (91/393) Purging qt6-qtbase-mysql (6.8.2-r2) (92/393) Purging qt6-qtbase-odbc (6.8.2-r2) (93/393) Purging qt6-qtbase-postgresql (6.8.2-r2) (94/393) Purging qt6-qtbase-sqlite (6.8.2-r2) (95/393) Purging cups-dev (2.4.11-r0) (96/393) Purging libgcrypt-dev (1.10.3-r1) (97/393) Purging double-conversion-dev (3.3.1-r0) (98/393) Purging libb2-dev (0.98.1-r3) (99/393) Purging libinput-dev (1.28.1-r0) (100/393) Purging eudev-dev (3.2.14-r5) (101/393) Purging libpq-dev (17.4-r4) (102/393) Purging libpq (17.4-r4) (103/393) Purging libproxy-dev (0.5.9-r0) (104/393) Purging mariadb-dev (11.4.5-r2) (105/393) Purging fmt-dev (11.2.0-r0) (106/393) Purging fmt (11.2.0-r0) (107/393) Purging mariadb-connector-c-dev (3.3.10-r0) (108/393) Purging mariadb-connector-c (3.3.10-r0) (109/393) Purging mariadb-embedded (11.4.5-r2) (110/393) Purging mariadb-common (11.4.5-r2) (111/393) Purging openssl-dev (3.5.0-r0) (112/393) Purging tslib-dev (1.23-r0) (113/393) Purging unixodbc-dev (2.3.12-r0) (114/393) Purging unixodbc (2.3.12-r0) (115/393) Purging vulkan-loader-dev (1.4.313.0-r0) (116/393) Purging vulkan-headers (1.4.313.0-r0) (117/393) Purging vulkan-loader (1.4.313.0-r0) (118/393) Purging xcb-util-cursor-dev (0.1.5-r0) (119/393) Purging xcb-util-image-dev (0.4.1-r0) (120/393) Purging xcb-util-keysyms-dev (0.4.1-r0) (121/393) Purging xcb-util-renderutil-dev (0.3.10-r0) (122/393) Purging xcb-util-wm-dev (0.4.2-r0) (123/393) Purging gtk+3.0-dev (3.24.49-r1) (124/393) Purging wayland-protocols (1.44-r0) (125/393) Purging at-spi2-core-dev (2.56.2-r0) (126/393) Purging qt6-qtdeclarative (6.8.2-r1) (127/393) Purging qt6-qtbase-x11 (6.8.2-r2) (128/393) Purging xdg-utils (1.2.1-r1) (129/393) Purging xprop (1.2.8-r0) (130/393) Purging xset (1.2.5-r1) (131/393) Purging gtk+3.0 (3.24.49-r1) Executing gtk+3.0-3.24.49-r1.post-deinstall (132/393) Purging gobject-introspection (1.84.0-r0) (133/393) Purging gtk-update-icon-cache (3.24.49-r1) (134/393) Purging hicolor-icon-theme (0.18-r0) (135/393) Purging libatk-bridge-2.0 (2.56.2-r0) (136/393) Purging at-spi2-core-libs (2.56.2-r0) (137/393) Purging avahi-dev (0.8-r20) (138/393) Purging gdbm-dev (1.24-r0) (139/393) Purging gdbm-tools (1.24-r0) (140/393) Purging avahi-compat-howl (0.8-r20) (141/393) Purging avahi-compat-libdns_sd (0.8-r20) (142/393) Purging avahi-glib (0.8-r20) (143/393) Purging avahi (0.8-r20) (144/393) Purging cups-libs (2.4.11-r0) (145/393) Purging avahi-libs (0.8-r20) (146/393) Purging pango-dev (1.56.3-r0) (147/393) Purging pango-tools (1.56.3-r0) (148/393) Purging pango (1.56.3-r0) Executing pango-1.56.3-r0.pre-deinstall (149/393) Purging harfbuzz-dev (10.2.0-r1) (150/393) Purging harfbuzz-cairo (10.2.0-r1) (151/393) Purging harfbuzz-gobject (10.2.0-r1) (152/393) Purging harfbuzz-icu (10.2.0-r1) (153/393) Purging harfbuzz-subset (10.2.0-r1) (154/393) Purging harfbuzz (10.2.0-r1) (155/393) Purging graphite2-dev (1.3.14-r6) (156/393) Purging graphite2 (1.3.14-r6) (157/393) Purging cairo-dev (1.18.2-r1) (158/393) Purging cairo-tools (1.18.2-r1) (159/393) Purging xcb-util-dev (0.4.1-r3) (160/393) Purging util-macros (1.20.1-r0) (161/393) Purging cairo-gobject (1.18.2-r1) (162/393) Purging cairo (1.18.2-r1) (163/393) Purging libxft-dev (2.3.8-r3) (164/393) Purging libxft (2.3.8-r3) (165/393) Purging fontconfig-dev (2.15.0-r3) (166/393) Purging fontconfig (2.15.0-r3) (167/393) Purging freetype-dev (2.13.3-r0) (168/393) Purging freetype (2.13.3-r0) (169/393) Purging brotli-dev (1.1.0-r2) (170/393) Purging brotli (1.1.0-r2) (171/393) Purging gdk-pixbuf-dev (2.42.12-r1) (172/393) Purging gdk-pixbuf (2.42.12-r1) Executing gdk-pixbuf-2.42.12-r1.pre-deinstall (173/393) Purging glib-dev (2.84.1-r0) (174/393) Purging bzip2-dev (1.0.8-r6) (175/393) Purging docbook-xsl (1.79.2-r11) (176/393) Purging docbook-xsl-ns (1.79.2-r11) Executing docbook-xsl-ns-1.79.2-r11.pre-deinstall (177/393) Purging docbook-xsl-nons (1.79.2-r11) Executing docbook-xsl-nons-1.79.2-r11.pre-deinstall (178/393) Purging docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.pre-deinstall (179/393) Purging gettext-dev (0.24-r0) (180/393) Purging gettext-asprintf (0.24-r0) (181/393) Purging gettext (0.24-r0) (182/393) Purging libxslt (1.1.43-r3) (183/393) Purging py3-packaging (25.0-r0) (184/393) Purging py3-parsing (3.2.3-r0) (185/393) Purging pcre2-dev (10.43-r1) (186/393) Purging libpcre2-32 (10.43-r1) (187/393) Purging libedit-dev (20250104.3.1-r0) (188/393) Purging ncurses-dev (6.5_p20250503-r0) (189/393) Purging libncurses++ (6.5_p20250503-r0) (190/393) Purging bsd-compat-headers (0.7.2-r6) (191/393) Purging libepoxy-dev (1.5.10-r1) (192/393) Purging libepoxy (1.5.10-r1) (193/393) Purging mesa-dev (25.0.5-r0) (194/393) Purging libxdamage-dev (1.1.6-r5) (195/393) Purging libxdamage (1.1.6-r5) (196/393) Purging libxshmfence-dev (1.3.3-r0) (197/393) Purging mesa-egl (25.0.5-r0) (198/393) Purging mesa-gbm (25.0.5-r0) (199/393) Purging mesa-gl (25.0.5-r0) (200/393) Purging mesa-gles (25.0.5-r0) (201/393) Purging mesa-xatracker (25.0.5-r0) (202/393) Purging mesa-rusticl (25.0.5-r0) (203/393) Purging mesa (25.0.5-r0) (204/393) Purging libclc (20.1.4-r0) (205/393) Purging clang20-headers (20.1.4-r0) (206/393) Purging clang20-libs (20.1.4-r0) (207/393) Purging dbus-dev (1.16.2-r1) (208/393) Purging qt6-qtbase (6.8.2-r2) (209/393) Purging tzdata (2025b-r0) (210/393) Purging dbus-libs (1.16.2-r1) (211/393) Purging double-conversion (3.3.1-r0) (212/393) Purging libproxy (0.5.9-r0) (213/393) Purging duktape-libs (2.7.0-r2) (214/393) Purging libinput-libs (1.28.1-r0) (215/393) Purging libcamera-ipa (0.5.0-r0) (216/393) Purging libcamera (0.5.0-r0) (217/393) Purging eudev-libs (3.2.14-r5) (218/393) Purging wayland-dev (1.23.1-r3) (219/393) Purging wayland-libs-cursor (1.23.1-r3) (220/393) Purging wayland-libs-egl (1.23.1-r3) (221/393) Purging wayland-libs-server (1.23.1-r3) (222/393) Purging expat-dev (2.7.1-r0) (223/393) Purging expat (2.7.1-r0) (224/393) Purging ffmpeg-libavutil (6.1.2-r2) (225/393) Purging fribidi-dev (1.0.16-r0) (226/393) Purging fribidi (1.0.16-r0) (227/393) Purging libevent-dev (2.1.12-r8) (228/393) Purging libevent (2.1.12-r8) (229/393) Purging libxrandr-dev (1.5.4-r1) (230/393) Purging libxrandr (1.5.4-r1) (231/393) Purging libxcomposite-dev (0.4.6-r5) (232/393) Purging libxcomposite (0.4.6-r5) (233/393) Purging libxinerama-dev (1.1.5-r4) (234/393) Purging libxinerama (1.1.5-r4) (235/393) Purging libxxf86vm-dev (1.1.6-r0) (236/393) Purging libxxf86vm (1.1.6-r0) (237/393) Purging libxcursor-dev (1.2.3-r0) (238/393) Purging libxcursor (1.2.3-r0) (239/393) Purging libxrender-dev (0.9.12-r0) (240/393) Purging libxrender (0.9.12-r0) (241/393) Purging libxtst-dev (1.2.5-r0) (242/393) Purging libxtst (1.2.5-r0) (243/393) Purging libxi-dev (1.8.2-r0) (244/393) Purging libxi (1.8.2-r0) (245/393) Purging libxfixes-dev (6.0.1-r4) (246/393) Purging libxext-dev (1.3.6-r2) (247/393) Purging libx11-dev (1.8.11-r0) (248/393) Purging xtrans (1.5.2-r0) (249/393) Purging libxkbcommon-dev (1.8.1-r2) (250/393) Purging libxkbcommon-x11 (1.8.1-r2) (251/393) Purging libxkbcommon (1.8.1-r2) (252/393) Purging xkeyboard-config (2.43-r0) (253/393) Purging libxcb-dev (1.17.0-r0) (254/393) Purging xcb-proto (1.17.0-r0) (255/393) Purging python3 (3.12.10-r0) (256/393) Purging gdbm (1.24-r0) (257/393) Purging gettext-libs (0.24-r0) (258/393) Purging giflib (5.2.2-r1) (259/393) Purging shared-mime-info (2.4-r5) Executing shared-mime-info-2.4-r5.post-deinstall (260/393) Purging libatk-1.0 (2.56.2-r0) (261/393) Purging glib (2.84.1-r0) (262/393) Purging glslang-libs (1.4.309.0-r0) (263/393) Purging gnutls-dev (3.8.8-r0) (264/393) Purging gnutls-c++ (3.8.8-r0) (265/393) Purging gnutls (3.8.8-r0) (266/393) Purging nettle-dev (3.10.1-r0) (267/393) Purging nettle (3.10.1-r0) (268/393) Purging gmp-dev (6.3.0-r3) (269/393) Purging libgmpxx (6.3.0-r3) (270/393) Purging libdrm-dev (2.4.124-r0) (271/393) Purging libpciaccess-dev (0.18.1-r0) (272/393) Purging libva (2.22.0-r1) (273/393) Purging libdrm (2.4.124-r0) (274/393) Purging libpciaccess (0.18.1-r0) (275/393) Purging hwdata-pci (0.395-r0) (276/393) Purging icu-dev (76.1-r0) (277/393) Purging icu (76.1-r0) (278/393) Purging icu-libs (76.1-r0) (279/393) Purging icu-data-en (76.1-r0) (280/393) Purging imath (3.1.12-r0) (281/393) Purging lame-libs (3.100-r5) (282/393) Purging lcms2 (2.16-r0) (283/393) Purging libaio (0.3.113-r2) (284/393) Purging libasyncns (0.8-r4) (285/393) Purging libb2 (0.98.1-r3) (286/393) Purging util-linux-dev (2.41-r7) (287/393) Purging libfdisk (2.41-r7) (288/393) Purging liblastlog2 (2.41-r7) (289/393) Purging libmount (2.41-r7) (290/393) Purging libsmartcols (2.41-r7) (291/393) Purging libblkid (2.41-r7) (292/393) Purging libxdmcp-dev (1.1.5-r1) (293/393) Purging xcb-util-cursor (0.1.5-r0) (294/393) Purging xcb-util-renderutil (0.3.10-r0) (295/393) Purging xcb-util-image (0.4.1-r0) (296/393) Purging xcb-util-wm (0.4.2-r0) (297/393) Purging libxmu (1.2.1-r0) (298/393) Purging libvdpau (1.5-r4) (299/393) Purging libxext (1.3.6-r2) (300/393) Purging libxt (1.3.1-r0) (301/393) Purging libxfixes (6.0.1-r4) (302/393) Purging libx11 (1.8.11-r0) (303/393) Purging xcb-util-keysyms (0.4.1-r0) (304/393) Purging xcb-util (0.4.1-r3) (305/393) Purging libxcb (1.17.0-r0) (306/393) Purging libxdmcp (1.1.5-r1) (307/393) Purging libbsd (0.12.2-r0) (308/393) Purging libbz2 (1.0.8-r6) (309/393) Purging libdaemon (0.14-r6) (310/393) Purging libdeflate (1.23-r0) (311/393) Purging libdovi (3.3.1-r1) (312/393) Purging libeconf (0.6.3-r0) (313/393) Purging libelf (0.193-r0) (314/393) Purging libevdev (1.13.3-r0) (315/393) Purging libffi-dev (3.4.8-r0) (316/393) Purging linux-headers (6.14.2-r0) (317/393) Purging spirv-llvm-translator-libs (20.1.2-r0) (318/393) Purging llvm20-libs (20.1.4-r0) (319/393) Purging wayland-libs-client (1.23.1-r3) (320/393) Purging p11-kit-dev (0.25.5-r2) (321/393) Purging p11-kit (0.25.5-r2) (322/393) Purging libffi (3.4.8-r0) (323/393) Purging libflac (1.4.3-r1) (324/393) Purging libformw (6.5_p20250503-r0) (325/393) Purging libgcrypt (1.10.3-r1) (326/393) Purging libgpg-error-dev (1.55-r0) (327/393) Purging libgpg-error (1.55-r0) (328/393) Purging libhwy (1.0.7-r1) (329/393) Purging libsm (1.2.5-r0) (330/393) Purging libice (1.1.2-r0) (331/393) Purging libidn2-dev (2.3.7-r0) (332/393) Purging tiff-dev (4.7.0-r0) (333/393) Purging libtiffxx (4.7.0-r0) (334/393) Purging tiff (4.7.0-r0) (335/393) Purging libjpeg-turbo-dev (3.1.0-r0) (336/393) Purging libturbojpeg (3.1.0-r0) (337/393) Purging libjpeg-turbo (3.1.0-r0) (338/393) Purging libltdl (2.5.4-r0) (339/393) Purging libmd (1.1.0-r0) (340/393) Purging libmenuw (6.5_p20250503-r0) (341/393) Purging libvorbis (1.3.7-r2) (342/393) Purging libogg (1.3.5-r5) (343/393) Purging libpanelw (6.5_p20250503-r0) (344/393) Purging libpcre2-16 (10.43-r1) (345/393) Purging libpisp (1.2.0-r0) (346/393) Purging libpng-dev (1.6.47-r0) (347/393) Purging libpng (1.6.47-r0) (348/393) Purging libwebp-dev (1.5.0-r0) (349/393) Purging libwebpdecoder (1.5.0-r0) (350/393) Purging libwebpdemux (1.5.0-r0) (351/393) Purging libwebpmux (1.5.0-r0) (352/393) Purging libwebp (1.5.0-r0) (353/393) Purging libsharpyuv (1.5.0-r0) (354/393) Purging libsodium (1.0.20-r0) (355/393) Purging libtasn1-dev (4.20.0-r0) (356/393) Purging libtasn1-progs (4.20.0-r0) (357/393) Purging libtasn1 (4.20.0-r0) (358/393) Purging libunwind (1.8.1-r0) (359/393) Purging libuuid (2.41-r7) (360/393) Purging libuv (1.50.0-r0) (361/393) Purging libxau-dev (1.0.12-r0) (362/393) Purging libxau (1.0.12-r0) (363/393) Purging libxml2-dev (2.13.8-r0) (364/393) Purging libxml2-utils (2.13.8-r0) (365/393) Purging libxml2 (2.13.8-r0) (366/393) Purging libxshmfence (1.3.3-r0) (367/393) Purging lilv-libs (0.24.26-r0) (368/393) Purging mpdecimal (4.0.0-r0) (369/393) Purging mpg123-libs (1.32.10-r0) (370/393) Purging mtdev (1.1.7-r0) (371/393) Purging numactl (2.0.18-r0) (372/393) Purging openexr-libilmthread (3.3.2-r0) (373/393) Purging openexr-libiex (3.3.2-r0) (374/393) Purging opus (1.5.2-r1) (375/393) Purging pixman-dev (0.46.0-r0) (376/393) Purging pixman (0.46.0-r0) (377/393) Purging sratom (0.6.18-r0) (378/393) Purging sord-libs (0.16.18-r0) (379/393) Purging serd-libs (0.32.4-r0) (380/393) Purging spirv-tools (1.4.313.0-r0) (381/393) Purging sqlite-dev (3.49.2-r0) (382/393) Purging sqlite-libs (3.49.2-r0) (383/393) Purging sqlite (3.49.2-r0) (384/393) Purging tslib (1.23-r0) (385/393) Purging xorgproto (2024.1-r0) (386/393) Purging xz-dev (5.8.1-r0) (387/393) Purging xz (5.8.1-r0) (388/393) Purging xz-libs (5.8.1-r0) (389/393) Purging yaml (0.2.5-r2) (390/393) Purging zix-libs (0.6.2-r0) (391/393) Purging zlib-dev (1.3.1-r2) (392/393) Purging zstd-dev (1.5.7-r0) (393/393) Purging zstd (1.5.7-r0) Executing busybox-1.37.0-r17.trigger OK: 399 MiB in 108 packages >>> kpipewire: Updating the community/aarch64 repository index... >>> kpipewire: Signing the index...