>>> kpipewire: Building community/kpipewire 6.3.3-r0 (using abuild 3.14.1-r7) started Wed, 19 Mar 2025 17:11:32 +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/424) Installing alsa-lib (1.2.13-r0) (2/424) Installing dbus-libs (1.16.2-r1) (3/424) Installing libintl (0.22.5-r0) (4/424) Installing avahi-libs (0.8-r20) (5/424) Installing libcamera-ipa (0.4.0-r2) (6/424) Installing nettle (3.10.1-r0) (7/424) Installing libffi (3.4.7-r0) (8/424) Installing libtasn1 (4.20.0-r0) (9/424) Installing p11-kit (0.25.5-r2) (10/424) Installing gnutls (3.8.8-r0) (11/424) Installing eudev-libs (3.2.14-r5) (12/424) Installing xz-libs (5.6.4-r0) (13/424) Installing libunwind (1.8.1-r0) (14/424) Installing yaml (0.2.5-r2) (15/424) Installing libcamera (0.4.0-r2) (16/424) Installing libeconf (0.6.3-r0) (17/424) Installing libblkid (2.41-r0) (18/424) Installing libmount (2.41-r0) (19/424) Installing glib (2.84.0-r0) (20/424) Installing serd-libs (0.32.4-r0) (21/424) Installing zix-libs (0.6.2-r0) (22/424) Installing sord-libs (0.16.18-r0) (23/424) Installing sratom (0.6.18-r0) (24/424) Installing lilv-libs (0.24.26-r0) (25/424) Installing opus (1.5.2-r1) (26/424) Installing speexdsp (1.2.1-r2) (27/424) Installing libuv (1.50.0-r0) (28/424) Installing roc-toolkit-libs (0.4.0-r1) (29/424) Installing libogg (1.3.5-r5) (30/424) Installing libflac (1.4.3-r1) (31/424) Installing lame-libs (3.100-r5) (32/424) Installing mpg123-libs (1.32.10-r0) (33/424) Installing libvorbis (1.3.7-r2) (34/424) Installing libsndfile (1.2.2-r2) (35/424) Installing abseil-cpp-raw-logging-internal (20240722.1-r1) (36/424) Installing abseil-cpp-strings-internal (20240722.1-r1) (37/424) Installing abseil-cpp-strings (20240722.1-r1) (38/424) Installing webrtc-audio-processing-2 (2.1-r0) (39/424) Installing pipewire-libs (1.4.1-r0) (40/424) Installing pipewire (1.4.1-r0) Executing pipewire-1.4.1-r0.post-install (41/424) Installing libSvtAv1Enc (2.3.0-r0) (42/424) Installing aom-libs (3.11.0-r1) (43/424) Installing libxau (1.0.12-r0) (44/424) Installing libmd (1.1.0-r0) (45/424) Installing libbsd (0.12.2-r0) (46/424) Installing libxdmcp (1.1.5-r1) (47/424) Installing libxcb (1.17.0-r0) (48/424) Installing libx11 (1.8.11-r0) (49/424) Installing hwdata-pci (0.393-r0) (50/424) Installing libpciaccess (0.18.1-r0) (51/424) Installing libdrm (2.4.124-r0) (52/424) Installing libxext (1.3.6-r2) (53/424) Installing libxfixes (6.0.1-r4) (54/424) Installing wayland-libs-client (1.23.1-r0) (55/424) Installing libva (2.22.0-r1) (56/424) Installing libvdpau (1.5-r4) (57/424) Installing ffmpeg-libavutil (6.1.2-r1) (58/424) Installing libdav1d (1.5.1-r0) (59/424) Installing openexr-libiex (3.3.2-r0) (60/424) Installing openexr-libilmthread (3.3.2-r0) (61/424) Installing imath (3.1.12-r0) (62/424) Installing libdeflate (1.23-r0) (63/424) Installing openexr-libopenexrcore (3.3.2-r0) (64/424) Installing openexr-libopenexr (3.3.2-r0) (65/424) Installing giflib (5.2.2-r0) (66/424) Installing libhwy (1.0.7-r1) (67/424) Installing libjpeg-turbo (3.1.0-r0) (68/424) Installing lcms2 (2.16-r0) (69/424) Installing libpng (1.6.47-r0) (70/424) Installing libjxl (0.10.3-r1) (71/424) Installing rav1e-libs (0.7.1-r0) (72/424) Installing soxr (0.1.3-r7) (73/424) Installing ffmpeg-libswresample (6.1.2-r1) (74/424) Installing libtheora (1.1.1-r18) (75/424) Installing libvpx (1.15.0-r0) (76/424) Installing libsharpyuv (1.5.0-r0) (77/424) Installing libwebp (1.5.0-r0) (78/424) Installing libwebpmux (1.5.0-r0) (79/424) Installing x264-libs (0.164.3108-r0) (80/424) Installing numactl (2.0.18-r0) (81/424) Installing x265-libs (3.6-r0) (82/424) Installing xvidcore (1.3.7-r2) (83/424) Installing ffmpeg-libavcodec (6.1.2-r1) (84/424) Installing sdl3 (3.2.8-r0) (85/424) Installing sdl2-compat (2.32.52-r0) (86/424) Installing libbz2 (1.0.8-r6) (87/424) Installing freetype (2.13.3-r0) (88/424) Installing fontconfig (2.15.0-r2) (89/424) Installing fribidi (1.0.16-r0) (90/424) Installing graphite2 (1.3.14-r6) (91/424) Installing harfbuzz (10.2.0-r0) (92/424) Installing libunibreak (6.1-r0) (93/424) Installing libass (0.17.3-r0) (94/424) Installing libbluray (1.3.4-r1) (95/424) Installing libopenmpt (0.7.13-r0) (96/424) Installing mbedtls (3.6.2-r0) (97/424) Installing librist (0.2.10-r1) (98/424) Installing libsrt (1.5.3-r1) (99/424) Installing libssh (0.11.1-r0) (100/424) Installing libxml2 (2.13.6-r0) (101/424) Installing libsodium (1.0.20-r0) (102/424) Installing libzmq (4.3.5-r2) (103/424) Installing ffmpeg-libavformat (6.1.2-r1) (104/424) Installing libdovi (3.3.1-r0) (105/424) Installing spirv-tools (1.4.304.0-r0) (106/424) Installing glslang-libs (1.4.304.0-r0) (107/424) Installing shaderc (2024.0-r2) (108/424) Installing vulkan-loader (1.4.304.1-r1) (109/424) Installing libplacebo (6.338.2-r3) (110/424) Installing ffmpeg-libpostproc (6.1.2-r1) (111/424) Installing ffmpeg-libswscale (6.1.2-r1) (112/424) Installing vidstab (1.1.1-r0) (113/424) Installing zimg (3.0.5-r3) (114/424) Installing ffmpeg-libavfilter (6.1.2-r1) (115/424) Installing libasyncns (0.8-r4) (116/424) Installing libltdl (2.5.4-r0) (117/424) Installing orc (0.4.40-r1) (118/424) Installing tdb-libs (1.4.12-r0) (119/424) Installing libpulse (17.0-r5) (120/424) Installing v4l-utils-libs (1.28.1-r1) (121/424) Installing ffmpeg-libavdevice (6.1.2-r1) (122/424) Installing ffmpeg-dev (6.1.2-r1) (123/424) Installing tzdata (2025a-r0) (124/424) Installing libb2 (0.98.1-r3) (125/424) Installing double-conversion (3.3.1-r0) (126/424) Installing icu-data-en (74.2-r0) Executing icu-data-en-74.2-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (127/424) Installing icu-libs (74.2-r0) (128/424) Installing libpcre2-16 (10.43-r1) (129/424) Installing duktape-libs (2.7.0-r2) (130/424) Installing libproxy (0.5.9-r0) (131/424) Installing qt6-qtbase (6.8.2-r0) (132/424) Installing mariadb-connector-c (3.3.10-r0) (133/424) Installing qt6-qtbase-mysql (6.8.2-r0) (134/424) Installing unixodbc (2.3.12-r0) (135/424) Installing qt6-qtbase-odbc (6.8.2-r0) (136/424) Installing libpq (17.4-r0) (137/424) Installing qt6-qtbase-postgresql (6.8.2-r0) (138/424) Installing sqlite-libs (3.49.1-r0) (139/424) Installing qt6-qtbase-sqlite (6.8.2-r0) (140/424) Installing hicolor-icon-theme (0.18-r0) (141/424) Installing xprop (1.2.8-r0) (142/424) Installing libice (1.1.2-r0) (143/424) Installing libuuid (2.41-r0) (144/424) Installing libsm (1.2.5-r0) (145/424) Installing libxt (1.3.1-r0) (146/424) Installing libxmu (1.2.1-r0) (147/424) Installing xset (1.2.5-r1) (148/424) Installing xdg-utils (1.2.1-r1) (149/424) Installing llvm19-libs (19.1.7-r0) (150/424) Installing libelf (0.192-r0) (151/424) Installing mesa-glapi (24.3.4-r0) (152/424) Installing wayland-libs-server (1.23.1-r0) (153/424) Installing mesa-gles (24.3.4-r0) (154/424) Installing qt6-qtdeclarative (6.8.2-r0) (155/424) Installing wayland-libs-cursor (1.23.1-r0) (156/424) Installing wayland-libs-egl (1.23.1-r0) (157/424) Installing xkeyboard-config (2.43-r0) (158/424) Installing libxkbcommon (1.8.1-r0) (159/424) Installing qt6-qtwayland (6.8.2-r0) (160/424) Installing libxshmfence (1.3.3-r0) (161/424) Installing mesa (24.3.4-r0) (162/424) Installing mesa-gbm (24.3.4-r0) (163/424) Installing mesa-egl (24.3.4-r0) (164/424) Installing cups-libs (2.4.11-r0) (165/424) Installing gobject-introspection (1.84.0-r0) (166/424) Installing shared-mime-info (2.4-r2) (167/424) Installing tiff (4.7.0-r0) (168/424) Installing gdk-pixbuf (2.42.12-r1) (169/424) Installing gtk-update-icon-cache (3.24.49-r1) (170/424) Installing libxcomposite (0.4.6-r5) (171/424) Installing libxrender (0.9.12-r0) (172/424) Installing libxcursor (1.2.3-r0) (173/424) Installing libxdamage (1.1.6-r5) (174/424) Installing libxi (1.8.2-r0) (175/424) Installing libxinerama (1.1.5-r4) (176/424) Installing libxrandr (1.5.4-r1) (177/424) Installing libatk-1.0 (2.56.0-r0) (178/424) Installing at-spi2-core-libs (2.56.0-r0) (179/424) Installing libxtst (1.2.5-r0) (180/424) Installing at-spi2-core (2.56.0-r0) (181/424) Installing libatk-bridge-2.0 (2.56.0-r0) (182/424) Installing pixman (0.43.4-r1) (183/424) Installing cairo (1.18.2-r1) (184/424) Installing cairo-gobject (1.18.2-r1) (185/424) Installing libepoxy (1.5.10-r1) (186/424) Installing libxft (2.3.8-r3) (187/424) Installing pango (1.56.3-r0) (188/424) Installing gtk+3.0 (3.24.49-r1) (189/424) Installing libevdev (1.13.3-r0) (190/424) Installing mtdev (1.1.7-r0) (191/424) Installing libinput-libs (1.27.1-r0) (192/424) Installing tslib (1.23-r0) (193/424) Installing xcb-util (0.4.1-r3) (194/424) Installing xcb-util-image (0.4.1-r0) (195/424) Installing xcb-util-renderutil (0.3.10-r0) (196/424) Installing xcb-util-cursor (0.1.5-r0) (197/424) Installing xcb-util-wm (0.4.2-r0) (198/424) Installing xcb-util-keysyms (0.4.1-r0) (199/424) Installing libxkbcommon-x11 (1.8.1-r0) (200/424) Installing qt6-qtbase-x11 (6.8.2-r0) (201/424) Installing libgpg-error (1.51-r0) (202/424) Installing libgcrypt (1.10.3-r1) (203/424) Installing libgpg-error-dev (1.51-r0) (204/424) Installing libgcrypt-dev (1.10.3-r1) (205/424) Installing gnutls-c++ (3.8.8-r0) (206/424) Installing libgmpxx (6.3.0-r3) (207/424) Installing gmp-dev (6.3.0-r3) (208/424) Installing nettle-dev (3.10.1-r0) (209/424) Installing libidn2-dev (2.3.7-r0) (210/424) Installing libtasn1-progs (4.20.0-r0) (211/424) Installing libtasn1-dev (4.20.0-r0) (212/424) Installing p11-kit-dev (0.25.5-r2) (213/424) Installing zlib-dev (1.3.1-r2) (214/424) Installing gnutls-dev (3.8.8-r0) (215/424) Installing gdbm (1.24-r0) (216/424) Installing gdbm-tools (1.24-r0) (217/424) Installing gdbm-dev (1.24-r0) (218/424) Installing avahi-compat-howl (0.8-r20) (219/424) Installing avahi-compat-libdns_sd (0.8-r20) (220/424) Installing avahi-glib (0.8-r20) (221/424) Installing libdaemon (0.14-r6) (222/424) Installing libevent (2.1.12-r8) (223/424) Installing avahi (0.8-r20) Executing avahi-0.8-r20.pre-install (224/424) Installing bzip2-dev (1.0.8-r6) (225/424) Installing libxml2-utils (2.13.6-r0) (226/424) Installing docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.post-install (227/424) Installing libxslt (1.1.43-r0) (228/424) Installing docbook-xsl-ns (1.79.2-r11) Executing docbook-xsl-ns-1.79.2-r11.post-install (229/424) Installing docbook-xsl-nons (1.79.2-r11) Executing docbook-xsl-nons-1.79.2-r11.post-install (230/424) Installing docbook-xsl (1.79.2-r11) (231/424) Installing xz (5.6.4-r0) (232/424) Installing gettext-asprintf (0.22.5-r0) (233/424) Installing gettext-libs (0.22.5-r0) (234/424) Installing gettext-envsubst (0.22.5-r0) (235/424) Installing gettext (0.22.5-r0) (236/424) Installing gettext-dev (0.22.5-r0) (237/424) Installing mpdecimal (4.0.0-r0) (238/424) Installing libpanelw (6.5_p20250216-r0) (239/424) Installing python3 (3.12.9-r0) (240/424) Installing python3-pycache-pyc0 (3.12.9-r0) (241/424) Installing pyc (3.12.9-r0) (242/424) Installing python3-pyc (3.12.9-r0) (243/424) Installing py3-parsing (3.2.0-r0) (244/424) Installing py3-parsing-pyc (3.2.0-r0) (245/424) Installing py3-packaging (24.2-r0) (246/424) Installing py3-packaging-pyc (24.2-r0) (247/424) Installing linux-headers (6.12.6-r0) (248/424) Installing libffi-dev (3.4.7-r0) (249/424) Installing bsd-compat-headers (0.7.2-r6) (250/424) Installing libformw (6.5_p20250216-r0) (251/424) Installing libmenuw (6.5_p20250216-r0) (252/424) Installing libncurses++ (6.5_p20250216-r0) (253/424) Installing ncurses-dev (6.5_p20250216-r0) (254/424) Installing libedit-dev (20250104.3.1-r0) (255/424) Installing libpcre2-32 (10.43-r1) (256/424) Installing pcre2-dev (10.43-r1) (257/424) Installing libfdisk (2.41-r0) (258/424) Installing libsmartcols (2.41-r0) (259/424) Installing sqlite (3.49.1-r0) (260/424) Installing sqlite-dev (3.49.1-r0) (261/424) Installing util-linux (2.41-r0) (262/424) Installing dmesg (2.41-r0) (263/424) Installing setarch (2.41-r0) (264/424) Installing skalibs-libs (2.14.3.0-r0) (265/424) Installing utmps-libs (0.1.2.3-r2) (266/424) Installing util-linux-misc (2.41-r0) (267/424) Installing linux-pam (1.7.0-r1) (268/424) Installing runuser (2.41-r0) (269/424) Installing mount (2.41-r0) (270/424) Installing losetup (2.41-r0) (271/424) Installing hexdump (2.41-r0) (272/424) Installing uuidgen (2.41-r0) (273/424) Installing blkid (2.41-r0) (274/424) Installing sfdisk (2.41-r0) (275/424) Installing mcookie (2.41-r0) (276/424) Installing agetty (2.41-r0) (277/424) Installing wipefs (2.41-r0) (278/424) Installing cfdisk (2.41-r0) (279/424) Installing umount (2.41-r0) (280/424) Installing flock (2.41-r0) (281/424) Installing lsblk (2.41-r0) (282/424) Installing libcap-ng (0.8.5-r0) (283/424) Installing setpriv (2.41-r0) (284/424) Installing lscpu (2.41-r0) (285/424) Installing logger (2.41-r0) (286/424) Installing partx (2.41-r0) (287/424) Installing fstrim (2.41-r0) (288/424) Installing findmnt (2.41-r0) (289/424) Installing util-linux-dev (2.41-r0) (290/424) Installing glib-dev (2.84.0-r0) (291/424) Installing libevent-dev (2.1.12-r8) (292/424) Installing avahi-dev (0.8-r20) (293/424) Installing cups-dev (2.4.11-r0) (294/424) Installing dbus-dev (1.16.2-r1) (295/424) Installing double-conversion-dev (3.3.1-r0) (296/424) Installing eudev-dev (3.2.14-r5) (297/424) Installing expat (2.7.0-r0) (298/424) Installing expat-dev (2.7.0-r0) (299/424) Installing brotli (1.1.0-r2) (300/424) Installing brotli-dev (1.1.0-r2) (301/424) Installing libpng-dev (1.6.47-r0) (302/424) Installing freetype-dev (2.13.3-r0) (303/424) Installing fontconfig-dev (2.15.0-r2) (304/424) Installing libturbojpeg (3.1.0-r0) (305/424) Installing libjpeg-turbo-dev (3.1.0-r0) (306/424) Installing libtiffxx (4.7.0-r0) (307/424) Installing libwebpdecoder (1.5.0-r0) (308/424) Installing libwebpdemux (1.5.0-r0) (309/424) Installing libwebp-dev (1.5.0-r0) (310/424) Installing zstd (1.5.7-r0) (311/424) Installing zstd-dev (1.5.7-r0) (312/424) Installing tiff-dev (4.7.0-r0) (313/424) Installing gdk-pixbuf-dev (2.42.12-r1) (314/424) Installing xorgproto (2024.1-r0) (315/424) Installing libxau-dev (1.0.12-r0) (316/424) Installing xcb-proto (1.17.0-r0) (317/424) Installing xcb-proto-pyc (1.17.0-r0) (318/424) Installing libxdmcp-dev (1.1.5-r1) (319/424) Installing libxcb-dev (1.17.0-r0) (320/424) Installing xtrans (1.5.2-r0) (321/424) Installing libx11-dev (1.8.11-r0) (322/424) Installing libpciaccess-dev (0.18.1-r0) (323/424) Installing libdrm-dev (2.4.124-r0) (324/424) Installing libxext-dev (1.3.6-r2) (325/424) Installing libxfixes-dev (6.0.1-r4) (326/424) Installing libxdamage-dev (1.1.6-r5) (327/424) Installing libxshmfence-dev (1.3.3-r0) (328/424) Installing libxxf86vm (1.1.6-r0) (329/424) Installing mesa-gl (24.3.4-r0) (330/424) Installing mesa-osmesa (24.3.4-r0) (331/424) Installing clang19-headers (19.1.7-r1) (332/424) Installing libclc (19.1.7-r0) (333/424) Installing spirv-llvm-translator-libs (19.1.3-r0) (334/424) Installing clang19-libs (19.1.7-r1) (335/424) Installing mesa-rusticl (24.3.4-r0) (336/424) Installing mesa-xatracker (24.3.4-r0) (337/424) Installing libxxf86vm-dev (1.1.6-r0) (338/424) Installing mesa-dev (24.3.4-r0) (339/424) Installing libepoxy-dev (1.5.10-r1) (340/424) Installing libxi-dev (1.8.2-r0) (341/424) Installing libxinerama-dev (1.1.5-r4) (342/424) Installing xz-dev (5.6.4-r0) (343/424) Installing libxml2-dev (2.13.6-r0) (344/424) Installing libxkbcommon-dev (1.8.1-r0) (345/424) Installing wayland-protocols (1.41-r0) (346/424) Installing libxtst-dev (1.2.5-r0) (347/424) Installing at-spi2-core-dev (2.56.0-r0) (348/424) Installing cairo-tools (1.18.2-r1) (349/424) Installing libxrender-dev (0.9.12-r0) (350/424) Installing pixman-dev (0.43.4-r1) (351/424) Installing util-macros (1.20.1-r0) (352/424) Installing xcb-util-dev (0.4.1-r3) (353/424) Installing cairo-dev (1.18.2-r1) (354/424) Installing fribidi-dev (1.0.16-r0) (355/424) Installing pango-tools (1.56.3-r0) (356/424) Installing harfbuzz-cairo (10.2.0-r0) (357/424) Installing harfbuzz-gobject (10.2.0-r0) (358/424) Installing harfbuzz-icu (10.2.0-r0) (359/424) Installing harfbuzz-subset (10.2.0-r0) (360/424) Installing graphite2-dev (1.3.14-r6) (361/424) Installing icu (74.2-r0) (362/424) Installing icu-dev (74.2-r0) (363/424) Installing harfbuzz-dev (10.2.0-r0) (364/424) Installing libxft-dev (2.3.8-r3) (365/424) Installing pango-dev (1.56.3-r0) (366/424) Installing wayland-dev (1.23.1-r0) (367/424) Installing libxcomposite-dev (0.4.6-r5) (368/424) Installing libxcursor-dev (1.2.3-r0) (369/424) Installing libxrandr-dev (1.5.4-r1) (370/424) Installing gtk+3.0-dev (3.24.49-r1) (371/424) Installing libb2-dev (0.98.1-r3) (372/424) Installing libinput-dev (1.27.1-r0) (373/424) Installing openssl-dev (3.3.3-r0) (374/424) Installing libpq-dev (17.4-r0) (375/424) Installing libproxy-dev (0.5.9-r0) (376/424) Installing fmt (11.1.4-r0) (377/424) Installing fmt-dev (11.1.4-r0) (378/424) Installing mariadb-connector-c-dev (3.3.10-r0) (379/424) Installing mariadb-common (11.4.5-r0) (380/424) Installing libaio (0.3.113-r2) (381/424) Installing mariadb-embedded (11.4.5-r0) (382/424) Installing mariadb-dev (11.4.5-r0) (383/424) Installing tslib-dev (1.23-r0) (384/424) Installing unixodbc-dev (2.3.12-r0) (385/424) Installing vulkan-headers (1.4.304.1-r1) (386/424) Installing vulkan-loader-dev (1.4.304.1-r1) (387/424) Installing xcb-util-image-dev (0.4.1-r0) (388/424) Installing xcb-util-renderutil-dev (0.3.10-r0) (389/424) Installing xcb-util-cursor-dev (0.1.5-r0) (390/424) Installing xcb-util-keysyms-dev (0.4.1-r0) (391/424) Installing xcb-util-wm-dev (0.4.2-r0) (392/424) Installing qt6-qtbase-dev (6.8.2-r0) (393/424) Installing kcoreaddons (6.12.0-r0) (394/424) Installing breeze-icons (6.12.0-r0) (395/424) Installing kde-default-icon-theme (6.12.0-r0) (396/424) Installing kcoreaddons-dev (6.12.0-r0) (397/424) Installing iso-codes (4.17.0-r0) (398/424) Installing iso-codes-dev (4.17.0-r0) (399/424) Installing qt6-qtshadertools (6.8.2-r0) (400/424) Installing qt6-qtshadertools-dev (6.8.2-r0) (401/424) Installing qt6-qtdeclarative-dev (6.8.2-r0) (402/424) Installing iso-codes-lang (4.17.0-r0) (403/424) Installing ki18n (6.12.0-r0) (404/424) Installing ki18n-dev (6.12.0-r0) (405/424) Installing qt6-qtbase-private-dev (6.8.2-r0) (406/424) Installing qt6-qtwayland-dev (6.8.2-r0) (407/424) Installing kwayland (6.3.3-r0) (408/424) Installing kwayland-dev (6.3.3-r0) (409/424) Installing libva-dev (2.22.0-r1) (410/424) Installing pipewire-dev (1.4.1-r0) (411/424) Installing plasma-wayland-protocols (1.16.0-r0) (412/424) Installing libarchive (3.7.7-r0) (413/424) Installing rhash-libs (1.4.5-r0) (414/424) Installing cmake (3.31.6-r1) (415/424) Installing extra-cmake-modules (6.12.0-r0) (416/424) Installing pipewire-tools (1.4.1-r0) (417/424) Installing samurai (1.2-r6) (418/424) Installing .makedepends-kpipewire (20250319.171134) (419/424) Installing dbus (1.16.2-r1) Executing dbus-1.16.2-r1.pre-install Executing dbus-1.16.2-r1.post-install (420/424) Installing dbus-openrc (1.16.2-r1) (421/424) Installing dbus-daemon-launch-helper (1.16.2-r1) (422/424) Installing avahi-openrc (0.8-r20) (423/424) Installing util-linux-openrc (2.41-r0) (424/424) Installing agetty-openrc (0.60.1-r0) Executing busybox-1.37.0-r14.trigger Executing glib-2.84.0-r0.trigger Executing shared-mime-info-2.4-r2.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: 2506 MiB in 527 packages >>> kpipewire: Cleaning up srcdir >>> kpipewire: Cleaning up pkgdir >>> kpipewire: Cleaning up tmpdir >>> kpipewire: Fetching https://distfiles.alpinelinux.org/distfiles/edge/kpipewire-6.3.3.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.3/kpipewire-6.3.3.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.3.tar.xz.part' kpipewire-6.3.3.tar. 100% |********************************| 149k 0:00:00 ETA '/var/cache/distfiles/edge/kpipewire-6.3.3.tar.xz.part' saved >>> kpipewire: Fetching https://distfiles.alpinelinux.org/distfiles/edge/kpipewire-6.3.3.tar.xz >>> kpipewire: Checking sha512sums... kpipewire-6.3.3.tar.xz: OK >>> kpipewire: Unpacking /var/cache/distfiles/edge/kpipewire-6.3.3.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/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- 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.22.5") -- Found KF6I18n: /usr/lib/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.12.0") -- Found KF6CoreAddons: /usr/lib/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake (found version "6.12.0") -- Found KF6: success (found version "6.12.0") found components: I18n CoreAddons -- Checking for module 'libpipewire-0.3' -- Found libpipewire-0.3, version 1.4.1 -- Checking for module 'libavcodec' -- Found libavcodec, version 60.31.102 -- Checking for module 'libavutil' -- Found libavutil, version 58.29.100 -- Checking for module 'libavformat' -- Found libavformat, version 60.16.100 -- Checking for module 'libavfilter' -- Found libavfilter, version 9.12.100 -- Checking for module 'gbm' -- Found gbm, version 24.3.4 -- 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 (4.0s) -- Generating done (0.2s) -- Build files have been written to: /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3 [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] Running AUTOMOC file extraction for target KPipeWireDeclarative [39/115] Running rcc for resource qmake_org_kde_pipewire [40/115] Running moc --collect-json for target KPipeWireDeclarative [41/115] Automatic QML type registration for target KPipeWireDeclarative [42/115] Automatic RCC for recordme.qrc [43/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp-recordme_autogen/EWIEGA46WW/qrc_recordme.cpp.o [44/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/RecordMe.cpp.o [45/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp_dbus_screencast_interface.cpp.o [46/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp-main.cpp.o [47/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp-recordme_autogen/mocs_compilation.cpp.o [48/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/qwayland-zkde-screencast-unstable-v1.cpp.o [49/115] Building C object tests/CMakeFiles/PipeWireScreencastingTest.dir/wayland-zkde-screencast-unstable-v1-protocol.c.o [50/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/screencastingrequest.cpp.o [51/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/screencasting.cpp.o [52/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/PipeWireScreencastingTest_autogen/mocs_compilation.cpp.o [53/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o [54/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o [55/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.cpp.o [56/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_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 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 [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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3 [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 [72/115] Automatic RCC for recordme.qrc [73/115] Building CXX object tests/CMakeFiles/recordme.dir/recordme_autogen/EWIEGA46WW/qrc_recordme.cpp.o [74/115] Building CXX object tests/CMakeFiles/recordme.dir/PlasmaRecordMe.cpp.o [75/115] Building CXX object tests/CMakeFiles/recordme.dir/main.cpp.o [76/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] 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.3/src/pipewiresourceitem.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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 [77/115] Linking CXX shared module bin/org/kde/pipewire/libKPipeWireDeclarative.so 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.3/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.3/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.3/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.3/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.3/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.3/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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/libvpxencoder_p.h:9, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/libwebpencoder_p.h:6, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/libopenh264encoder_p.h:10, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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 | ({ \ | [01;35m^ /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.3/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.3/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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/libvpxvp9encoder_p.h:10, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/libx264encoder_p.h:9, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/gifencoder_p.h:6, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3/src/pipewireproduce_p.h:13, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3/src/pipewireproduce_p.h:13, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/pipewireencodedstream_p.h:10, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/h264vaapiencoder_p.h:9, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3/src/pipewireproduce_p.h:13, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3 [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.3/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/build/src/DmaBufHandler:1, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.3/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.3/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.3/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.3 -- 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.3 -- 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.3" 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.3 -- 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.3" 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.3-r0 >>> kpipewire-dev*: Package size: 31.7 KB >>> kpipewire-dev*: Compressing data... >>> kpipewire-dev*: Create checksum... libfakeroot internal error: payload not recognized! >>> kpipewire-dev*: Create kpipewire-dev-6.3.3-r0.apk >>> kpipewire-lang*: Tracing dependencies... >>> kpipewire-lang*: Package size: 39.9 KB >>> kpipewire-lang*: Compressing data... >>> kpipewire-lang*: Create checksum... >>> kpipewire-lang*: Create kpipewire-lang-6.3.3-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.3-r0.apk >>> kpipewire: Build complete at Wed, 19 Mar 2025 17:12:51 +0000 elapsed time 0h 1m 19s >>> kpipewire: Cleaning up srcdir >>> kpipewire: Cleaning up pkgdir >>> kpipewire: Uninstalling dependencies... (1/424) Purging .makedepends-kpipewire (20250319.171134) (2/424) Purging ffmpeg-dev (6.1.2-r1) (3/424) Purging ffmpeg-libavdevice (6.1.2-r1) (4/424) Purging ffmpeg-libavfilter (6.1.2-r1) (5/424) Purging ffmpeg-libavformat (6.1.2-r1) (6/424) Purging ffmpeg-libpostproc (6.1.2-r1) (7/424) Purging ffmpeg-libswscale (6.1.2-r1) (8/424) Purging kcoreaddons-dev (6.12.0-r0) (9/424) Purging kde-default-icon-theme (6.12.0-r0) (10/424) Purging breeze-icons (6.12.0-r0) (11/424) Purging kcoreaddons (6.12.0-r0) (12/424) Purging ki18n-dev (6.12.0-r0) (13/424) Purging iso-codes-dev (4.17.0-r0) (14/424) Purging iso-codes (4.17.0-r0) (15/424) Purging ki18n (6.12.0-r0) (16/424) Purging iso-codes-lang (4.17.0-r0) (17/424) Purging kwayland-dev (6.3.3-r0) (18/424) Purging kwayland (6.3.3-r0) (19/424) Purging libva-dev (2.22.0-r1) (20/424) Purging pipewire-dev (1.4.1-r0) (21/424) Purging plasma-wayland-protocols (1.16.0-r0) (22/424) Purging qt6-qtwayland-dev (6.8.2-r0) (23/424) Purging qt6-qtbase-private-dev (6.8.2-r0) (24/424) Purging qt6-qtwayland (6.8.2-r0) (25/424) Purging extra-cmake-modules (6.12.0-r0) (26/424) Purging cmake (3.31.6-r1) (27/424) Purging pipewire-tools (1.4.1-r0) (28/424) Purging pipewire (1.4.1-r0) (29/424) Purging samurai (1.2-r6) (30/424) Purging agetty-openrc (0.60.1-r0) (31/424) Purging agetty (2.41-r0) (32/424) Purging at-spi2-core (2.56.0-r0) (33/424) Purging avahi-openrc (0.8-r20) (34/424) Purging dbus-openrc (1.16.2-r1) (35/424) Purging dbus-daemon-launch-helper (1.16.2-r1) (36/424) Purging dbus (1.16.2-r1) (37/424) Purging blkid (2.41-r0) (38/424) Purging cfdisk (2.41-r0) (39/424) Purging dmesg (2.41-r0) (40/424) Purging ffmpeg-libavcodec (6.1.2-r1) (41/424) Purging ffmpeg-libswresample (6.1.2-r1) (42/424) Purging findmnt (2.41-r0) (43/424) Purging flock (2.41-r0) (44/424) Purging fstrim (2.41-r0) (45/424) Purging hexdump (2.41-r0) (46/424) Purging libarchive (3.7.7-r0) (47/424) Purging libass (0.17.3-r0) (48/424) Purging libbluray (1.3.4-r1) (49/424) Purging libdav1d (1.5.1-r0) (50/424) Purging libjxl (0.10.3-r1) (51/424) Purging libopenmpt (0.7.13-r0) (52/424) Purging libplacebo (6.338.2-r3) (53/424) Purging libpulse (17.0-r5) (54/424) Purging librist (0.2.10-r1) (55/424) Purging libsrt (1.5.3-r1) (56/424) Purging libssh (0.11.1-r0) (57/424) Purging libSvtAv1Enc (2.3.0-r0) (58/424) Purging libtheora (1.1.1-r18) (59/424) Purging libunibreak (6.1-r0) (60/424) Purging libvpx (1.15.0-r0) (61/424) Purging libzmq (4.3.5-r2) (62/424) Purging logger (2.41-r0) (63/424) Purging losetup (2.41-r0) (64/424) Purging lsblk (2.41-r0) (65/424) Purging lscpu (2.41-r0) (66/424) Purging mbedtls (3.6.2-r0) (67/424) Purging mcookie (2.41-r0) (68/424) Purging mount (2.41-r0) (69/424) Purging openexr-libopenexr (3.3.2-r0) (70/424) Purging openexr-libopenexrcore (3.3.2-r0) (71/424) Purging orc (0.4.40-r1) (72/424) Purging partx (2.41-r0) (73/424) Purging pipewire-libs (1.4.1-r0) (74/424) Purging py3-packaging-pyc (24.2-r0) (75/424) Purging py3-parsing-pyc (3.2.0-r0) (76/424) Purging python3-pyc (3.12.9-r0) (77/424) Purging python3-pycache-pyc0 (3.12.9-r0) (78/424) Purging xcb-proto-pyc (1.17.0-r0) (79/424) Purging pyc (3.12.9-r0) (80/424) Purging qt6-qtdeclarative-dev (6.8.2-r0) (81/424) Purging qt6-qtshadertools-dev (6.8.2-r0) (82/424) Purging qt6-qtshadertools (6.8.2-r0) (83/424) Purging rav1e-libs (0.7.1-r0) (84/424) Purging rhash-libs (1.4.5-r0) (85/424) Purging roc-toolkit-libs (0.4.0-r1) (86/424) Purging runuser (2.41-r0) (87/424) Purging sdl2-compat (2.32.52-r0) (88/424) Purging sdl3 (3.2.8-r0) (89/424) Purging setpriv (2.41-r0) (90/424) Purging sfdisk (2.41-r0) (91/424) Purging shaderc (2024.0-r2) (92/424) Purging soxr (0.1.3-r7) (93/424) Purging speexdsp (1.2.1-r2) (94/424) Purging tdb-libs (1.4.12-r0) (95/424) Purging umount (2.41-r0) (96/424) Purging util-linux-misc (2.41-r0) (97/424) Purging setarch (2.41-r0) (98/424) Purging util-linux-openrc (2.41-r0) (99/424) Purging uuidgen (2.41-r0) (100/424) Purging v4l-utils-libs (1.28.1-r1) (101/424) Purging vidstab (1.1.1-r0) (102/424) Purging webrtc-audio-processing-2 (2.1-r0) (103/424) Purging wipefs (2.41-r0) (104/424) Purging x264-libs (0.164.3108-r0) (105/424) Purging x265-libs (3.6-r0) (106/424) Purging xvidcore (1.3.7-r2) (107/424) Purging zimg (3.0.5-r3) (108/424) Purging abseil-cpp-strings (20240722.1-r1) (109/424) Purging abseil-cpp-strings-internal (20240722.1-r1) (110/424) Purging abseil-cpp-raw-logging-internal (20240722.1-r1) (111/424) Purging libsndfile (1.2.2-r2) (112/424) Purging alsa-lib (1.2.13-r0) (113/424) Purging aom-libs (3.11.0-r1) (114/424) Purging qt6-qtbase-dev (6.8.2-r0) (115/424) Purging qt6-qtbase-mysql (6.8.2-r0) (116/424) Purging qt6-qtbase-odbc (6.8.2-r0) (117/424) Purging qt6-qtbase-postgresql (6.8.2-r0) (118/424) Purging qt6-qtbase-sqlite (6.8.2-r0) (119/424) Purging cups-dev (2.4.11-r0) (120/424) Purging libgcrypt-dev (1.10.3-r1) (121/424) Purging double-conversion-dev (3.3.1-r0) (122/424) Purging libb2-dev (0.98.1-r3) (123/424) Purging libinput-dev (1.27.1-r0) (124/424) Purging eudev-dev (3.2.14-r5) (125/424) Purging libpq-dev (17.4-r0) (126/424) Purging libpq (17.4-r0) (127/424) Purging libproxy-dev (0.5.9-r0) (128/424) Purging mariadb-dev (11.4.5-r0) (129/424) Purging fmt-dev (11.1.4-r0) (130/424) Purging fmt (11.1.4-r0) (131/424) Purging mariadb-connector-c-dev (3.3.10-r0) (132/424) Purging mariadb-connector-c (3.3.10-r0) (133/424) Purging mariadb-embedded (11.4.5-r0) (134/424) Purging mariadb-common (11.4.5-r0) (135/424) Purging openssl-dev (3.3.3-r0) (136/424) Purging tslib-dev (1.23-r0) (137/424) Purging unixodbc-dev (2.3.12-r0) (138/424) Purging unixodbc (2.3.12-r0) (139/424) Purging vulkan-loader-dev (1.4.304.1-r1) (140/424) Purging vulkan-headers (1.4.304.1-r1) (141/424) Purging vulkan-loader (1.4.304.1-r1) (142/424) Purging xcb-util-cursor-dev (0.1.5-r0) (143/424) Purging xcb-util-image-dev (0.4.1-r0) (144/424) Purging xcb-util-keysyms-dev (0.4.1-r0) (145/424) Purging xcb-util-renderutil-dev (0.3.10-r0) (146/424) Purging xcb-util-wm-dev (0.4.2-r0) (147/424) Purging gtk+3.0-dev (3.24.49-r1) (148/424) Purging wayland-protocols (1.41-r0) (149/424) Purging at-spi2-core-dev (2.56.0-r0) (150/424) Purging qt6-qtdeclarative (6.8.2-r0) (151/424) Purging qt6-qtbase-x11 (6.8.2-r0) (152/424) Purging xdg-utils (1.2.1-r1) (153/424) Purging xprop (1.2.8-r0) (154/424) Purging xset (1.2.5-r1) (155/424) Purging gtk+3.0 (3.24.49-r1) Executing gtk+3.0-3.24.49-r1.post-deinstall (156/424) Purging gobject-introspection (1.84.0-r0) (157/424) Purging gtk-update-icon-cache (3.24.49-r1) (158/424) Purging hicolor-icon-theme (0.18-r0) (159/424) Purging libatk-bridge-2.0 (2.56.0-r0) (160/424) Purging at-spi2-core-libs (2.56.0-r0) (161/424) Purging avahi-dev (0.8-r20) (162/424) Purging gdbm-dev (1.24-r0) (163/424) Purging gdbm-tools (1.24-r0) (164/424) Purging avahi-compat-howl (0.8-r20) (165/424) Purging avahi-compat-libdns_sd (0.8-r20) (166/424) Purging avahi-glib (0.8-r20) (167/424) Purging avahi (0.8-r20) (168/424) Purging cups-libs (2.4.11-r0) (169/424) Purging avahi-libs (0.8-r20) (170/424) Purging pango-dev (1.56.3-r0) (171/424) Purging pango-tools (1.56.3-r0) (172/424) Purging pango (1.56.3-r0) Executing pango-1.56.3-r0.pre-deinstall (173/424) Purging harfbuzz-dev (10.2.0-r0) (174/424) Purging harfbuzz-cairo (10.2.0-r0) (175/424) Purging harfbuzz-gobject (10.2.0-r0) (176/424) Purging harfbuzz-icu (10.2.0-r0) (177/424) Purging harfbuzz-subset (10.2.0-r0) (178/424) Purging harfbuzz (10.2.0-r0) (179/424) Purging graphite2-dev (1.3.14-r6) (180/424) Purging graphite2 (1.3.14-r6) (181/424) Purging cairo-dev (1.18.2-r1) (182/424) Purging cairo-tools (1.18.2-r1) (183/424) Purging xcb-util-dev (0.4.1-r3) (184/424) Purging util-macros (1.20.1-r0) (185/424) Purging cairo-gobject (1.18.2-r1) (186/424) Purging cairo (1.18.2-r1) (187/424) Purging libxft-dev (2.3.8-r3) (188/424) Purging libxft (2.3.8-r3) (189/424) Purging fontconfig-dev (2.15.0-r2) (190/424) Purging fontconfig (2.15.0-r2) (191/424) Purging freetype-dev (2.13.3-r0) (192/424) Purging freetype (2.13.3-r0) (193/424) Purging brotli-dev (1.1.0-r2) (194/424) Purging brotli (1.1.0-r2) (195/424) Purging gdk-pixbuf-dev (2.42.12-r1) (196/424) Purging gdk-pixbuf (2.42.12-r1) Executing gdk-pixbuf-2.42.12-r1.pre-deinstall (197/424) Purging glib-dev (2.84.0-r0) (198/424) Purging bzip2-dev (1.0.8-r6) (199/424) Purging docbook-xsl (1.79.2-r11) (200/424) Purging docbook-xsl-ns (1.79.2-r11) Executing docbook-xsl-ns-1.79.2-r11.pre-deinstall (201/424) Purging docbook-xsl-nons (1.79.2-r11) Executing docbook-xsl-nons-1.79.2-r11.pre-deinstall (202/424) Purging docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.pre-deinstall (203/424) Purging gettext-dev (0.22.5-r0) (204/424) Purging gettext-asprintf (0.22.5-r0) (205/424) Purging gettext (0.22.5-r0) (206/424) Purging gettext-envsubst (0.22.5-r0) (207/424) Purging libxslt (1.1.43-r0) (208/424) Purging py3-packaging (24.2-r0) (209/424) Purging py3-parsing (3.2.0-r0) (210/424) Purging pcre2-dev (10.43-r1) (211/424) Purging libpcre2-32 (10.43-r1) (212/424) Purging libedit-dev (20250104.3.1-r0) (213/424) Purging ncurses-dev (6.5_p20250216-r0) (214/424) Purging libncurses++ (6.5_p20250216-r0) (215/424) Purging bsd-compat-headers (0.7.2-r6) (216/424) Purging libepoxy-dev (1.5.10-r1) (217/424) Purging libepoxy (1.5.10-r1) (218/424) Purging mesa-dev (24.3.4-r0) (219/424) Purging libxdamage-dev (1.1.6-r5) (220/424) Purging libxdamage (1.1.6-r5) (221/424) Purging libxshmfence-dev (1.3.3-r0) (222/424) Purging mesa-egl (24.3.4-r0) (223/424) Purging mesa-gbm (24.3.4-r0) (224/424) Purging mesa-gl (24.3.4-r0) (225/424) Purging mesa-gles (24.3.4-r0) (226/424) Purging mesa-osmesa (24.3.4-r0) (227/424) Purging mesa-xatracker (24.3.4-r0) (228/424) Purging mesa-rusticl (24.3.4-r0) (229/424) Purging mesa (24.3.4-r0) (230/424) Purging libclc (19.1.7-r0) (231/424) Purging clang19-headers (19.1.7-r1) (232/424) Purging clang19-libs (19.1.7-r1) (233/424) Purging dbus-dev (1.16.2-r1) (234/424) Purging qt6-qtbase (6.8.2-r0) (235/424) Purging tzdata (2025a-r0) (236/424) Purging dbus-libs (1.16.2-r1) (237/424) Purging double-conversion (3.3.1-r0) (238/424) Purging libproxy (0.5.9-r0) (239/424) Purging duktape-libs (2.7.0-r2) (240/424) Purging libinput-libs (1.27.1-r0) (241/424) Purging libcamera-ipa (0.4.0-r2) (242/424) Purging libcamera (0.4.0-r2) (243/424) Purging eudev-libs (3.2.14-r5) (244/424) Purging wayland-dev (1.23.1-r0) (245/424) Purging wayland-libs-cursor (1.23.1-r0) (246/424) Purging wayland-libs-egl (1.23.1-r0) (247/424) Purging wayland-libs-server (1.23.1-r0) (248/424) Purging expat-dev (2.7.0-r0) (249/424) Purging expat (2.7.0-r0) (250/424) Purging ffmpeg-libavutil (6.1.2-r1) (251/424) Purging fribidi-dev (1.0.16-r0) (252/424) Purging fribidi (1.0.16-r0) (253/424) Purging libevent-dev (2.1.12-r8) (254/424) Purging libevent (2.1.12-r8) (255/424) Purging libxrandr-dev (1.5.4-r1) (256/424) Purging libxrandr (1.5.4-r1) (257/424) Purging libxcomposite-dev (0.4.6-r5) (258/424) Purging libxcomposite (0.4.6-r5) (259/424) Purging libxinerama-dev (1.1.5-r4) (260/424) Purging libxinerama (1.1.5-r4) (261/424) Purging libxxf86vm-dev (1.1.6-r0) (262/424) Purging libxxf86vm (1.1.6-r0) (263/424) Purging libxcursor-dev (1.2.3-r0) (264/424) Purging libxcursor (1.2.3-r0) (265/424) Purging libxrender-dev (0.9.12-r0) (266/424) Purging libxrender (0.9.12-r0) (267/424) Purging libxtst-dev (1.2.5-r0) (268/424) Purging libxtst (1.2.5-r0) (269/424) Purging libxi-dev (1.8.2-r0) (270/424) Purging libxi (1.8.2-r0) (271/424) Purging libxfixes-dev (6.0.1-r4) (272/424) Purging libxext-dev (1.3.6-r2) (273/424) Purging libx11-dev (1.8.11-r0) (274/424) Purging xtrans (1.5.2-r0) (275/424) Purging libxkbcommon-dev (1.8.1-r0) (276/424) Purging libxkbcommon-x11 (1.8.1-r0) (277/424) Purging libxkbcommon (1.8.1-r0) (278/424) Purging xkeyboard-config (2.43-r0) (279/424) Purging libxcb-dev (1.17.0-r0) (280/424) Purging xcb-proto (1.17.0-r0) (281/424) Purging python3 (3.12.9-r0) (282/424) Purging gdbm (1.24-r0) (283/424) Purging gettext-libs (0.22.5-r0) (284/424) Purging giflib (5.2.2-r0) (285/424) Purging shared-mime-info (2.4-r2) Executing shared-mime-info-2.4-r2.post-deinstall (286/424) Purging libatk-1.0 (2.56.0-r0) (287/424) Purging glib (2.84.0-r0) (288/424) Purging glslang-libs (1.4.304.0-r0) (289/424) Purging gnutls-dev (3.8.8-r0) (290/424) Purging gnutls-c++ (3.8.8-r0) (291/424) Purging gnutls (3.8.8-r0) (292/424) Purging nettle-dev (3.10.1-r0) (293/424) Purging nettle (3.10.1-r0) (294/424) Purging gmp-dev (6.3.0-r3) (295/424) Purging libgmpxx (6.3.0-r3) (296/424) Purging libdrm-dev (2.4.124-r0) (297/424) Purging libpciaccess-dev (0.18.1-r0) (298/424) Purging libva (2.22.0-r1) (299/424) Purging libdrm (2.4.124-r0) (300/424) Purging libpciaccess (0.18.1-r0) (301/424) Purging hwdata-pci (0.393-r0) (302/424) Purging icu-dev (74.2-r0) (303/424) Purging icu (74.2-r0) (304/424) Purging icu-libs (74.2-r0) (305/424) Purging icu-data-en (74.2-r0) (306/424) Purging imath (3.1.12-r0) (307/424) Purging lame-libs (3.100-r5) (308/424) Purging lcms2 (2.16-r0) (309/424) Purging libaio (0.3.113-r2) (310/424) Purging libasyncns (0.8-r4) (311/424) Purging libb2 (0.98.1-r3) (312/424) Purging util-linux-dev (2.41-r0) (313/424) Purging libfdisk (2.41-r0) (314/424) Purging libmount (2.41-r0) (315/424) Purging libsmartcols (2.41-r0) (316/424) Purging util-linux (2.41-r0) (317/424) Purging libblkid (2.41-r0) (318/424) Purging libxdmcp-dev (1.1.5-r1) (319/424) Purging xcb-util-cursor (0.1.5-r0) (320/424) Purging xcb-util-renderutil (0.3.10-r0) (321/424) Purging xcb-util-image (0.4.1-r0) (322/424) Purging xcb-util-wm (0.4.2-r0) (323/424) Purging libxmu (1.2.1-r0) (324/424) Purging libvdpau (1.5-r4) (325/424) Purging libxext (1.3.6-r2) (326/424) Purging libxt (1.3.1-r0) (327/424) Purging libxfixes (6.0.1-r4) (328/424) Purging libx11 (1.8.11-r0) (329/424) Purging xcb-util-keysyms (0.4.1-r0) (330/424) Purging xcb-util (0.4.1-r3) (331/424) Purging libxcb (1.17.0-r0) (332/424) Purging libxdmcp (1.1.5-r1) (333/424) Purging libbsd (0.12.2-r0) (334/424) Purging libbz2 (1.0.8-r6) (335/424) Purging libcap-ng (0.8.5-r0) (336/424) Purging libdaemon (0.14-r6) (337/424) Purging libdeflate (1.23-r0) (338/424) Purging libdovi (3.3.1-r0) (339/424) Purging libeconf (0.6.3-r0) (340/424) Purging libelf (0.192-r0) (341/424) Purging libevdev (1.13.3-r0) (342/424) Purging libffi-dev (3.4.7-r0) (343/424) Purging linux-headers (6.12.6-r0) (344/424) Purging spirv-llvm-translator-libs (19.1.3-r0) (345/424) Purging llvm19-libs (19.1.7-r0) (346/424) Purging wayland-libs-client (1.23.1-r0) (347/424) Purging p11-kit-dev (0.25.5-r2) (348/424) Purging p11-kit (0.25.5-r2) (349/424) Purging libffi (3.4.7-r0) (350/424) Purging libflac (1.4.3-r1) (351/424) Purging libformw (6.5_p20250216-r0) (352/424) Purging libgcrypt (1.10.3-r1) (353/424) Purging libgpg-error-dev (1.51-r0) (354/424) Purging libgpg-error (1.51-r0) (355/424) Purging libhwy (1.0.7-r1) (356/424) Purging libsm (1.2.5-r0) (357/424) Purging libice (1.1.2-r0) (358/424) Purging libidn2-dev (2.3.7-r0) (359/424) Purging libintl (0.22.5-r0) (360/424) Purging tiff-dev (4.7.0-r0) (361/424) Purging libtiffxx (4.7.0-r0) (362/424) Purging tiff (4.7.0-r0) (363/424) Purging libjpeg-turbo-dev (3.1.0-r0) (364/424) Purging libturbojpeg (3.1.0-r0) (365/424) Purging libjpeg-turbo (3.1.0-r0) (366/424) Purging libltdl (2.5.4-r0) (367/424) Purging libmd (1.1.0-r0) (368/424) Purging libmenuw (6.5_p20250216-r0) (369/424) Purging libvorbis (1.3.7-r2) (370/424) Purging libogg (1.3.5-r5) (371/424) Purging libpanelw (6.5_p20250216-r0) (372/424) Purging libpcre2-16 (10.43-r1) (373/424) Purging libpng-dev (1.6.47-r0) (374/424) Purging libpng (1.6.47-r0) (375/424) Purging libwebp-dev (1.5.0-r0) (376/424) Purging libwebpdecoder (1.5.0-r0) (377/424) Purging libwebpdemux (1.5.0-r0) (378/424) Purging libwebpmux (1.5.0-r0) (379/424) Purging libwebp (1.5.0-r0) (380/424) Purging libsharpyuv (1.5.0-r0) (381/424) Purging libsodium (1.0.20-r0) (382/424) Purging libtasn1-dev (4.20.0-r0) (383/424) Purging libtasn1-progs (4.20.0-r0) (384/424) Purging libtasn1 (4.20.0-r0) (385/424) Purging libunwind (1.8.1-r0) (386/424) Purging libuuid (2.41-r0) (387/424) Purging libuv (1.50.0-r0) (388/424) Purging libxau-dev (1.0.12-r0) (389/424) Purging libxau (1.0.12-r0) (390/424) Purging libxml2-dev (2.13.6-r0) (391/424) Purging libxml2-utils (2.13.6-r0) (392/424) Purging libxml2 (2.13.6-r0) (393/424) Purging libxshmfence (1.3.3-r0) (394/424) Purging lilv-libs (0.24.26-r0) (395/424) Purging linux-pam (1.7.0-r1) (396/424) Purging mesa-glapi (24.3.4-r0) (397/424) Purging mpdecimal (4.0.0-r0) (398/424) Purging mpg123-libs (1.32.10-r0) (399/424) Purging mtdev (1.1.7-r0) (400/424) Purging numactl (2.0.18-r0) (401/424) Purging openexr-libilmthread (3.3.2-r0) (402/424) Purging openexr-libiex (3.3.2-r0) (403/424) Purging opus (1.5.2-r1) (404/424) Purging pixman-dev (0.43.4-r1) (405/424) Purging pixman (0.43.4-r1) (406/424) Purging sratom (0.6.18-r0) (407/424) Purging sord-libs (0.16.18-r0) (408/424) Purging serd-libs (0.32.4-r0) (409/424) Purging utmps-libs (0.1.2.3-r2) (410/424) Purging skalibs-libs (2.14.3.0-r0) (411/424) Purging spirv-tools (1.4.304.0-r0) (412/424) Purging sqlite-dev (3.49.1-r0) (413/424) Purging sqlite-libs (3.49.1-r0) (414/424) Purging sqlite (3.49.1-r0) (415/424) Purging tslib (1.23-r0) (416/424) Purging xorgproto (2024.1-r0) (417/424) Purging xz-dev (5.6.4-r0) (418/424) Purging xz (5.6.4-r0) (419/424) Purging xz-libs (5.6.4-r0) (420/424) Purging yaml (0.2.5-r2) (421/424) Purging zix-libs (0.6.2-r0) (422/424) Purging zlib-dev (1.3.1-r2) (423/424) Purging zstd-dev (1.5.7-r0) (424/424) Purging zstd (1.5.7-r0) Executing busybox-1.37.0-r14.trigger OK: 397 MiB in 103 packages >>> kpipewire: Updating the community/aarch64 repository index... >>> kpipewire: Signing the index...