>>> kpipewire: Building community/kpipewire 6.3.4-r0 (using abuild 3.14.1-r7) started Thu, 03 Apr 2025 13:42:17 +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/410) Installing alsa-lib (1.2.13-r0) (2/410) Installing dbus-libs (1.16.2-r1) (3/410) Installing libintl (0.24-r0) (4/410) Installing avahi-libs (0.8-r20) (5/410) Installing nettle (3.10.1-r0) (6/410) Installing libffi (3.4.7-r0) (7/410) Installing libtasn1 (4.20.0-r0) (8/410) Installing p11-kit (0.25.5-r2) (9/410) Installing gnutls (3.8.8-r0) (10/410) Installing eudev-libs (3.2.14-r5) (11/410) Installing xz-libs (5.8.0-r0) (12/410) Installing libunwind (1.8.1-r0) (13/410) Installing yaml (0.2.5-r2) (14/410) Installing libcamera (0.4.0-r2) (15/410) Installing libeconf (0.6.3-r0) (16/410) Installing libblkid (2.41-r0) (17/410) Installing libmount (2.41-r0) (18/410) Installing glib (2.84.0-r0) (19/410) Installing serd-libs (0.32.4-r0) (20/410) Installing zix-libs (0.6.2-r0) (21/410) Installing sord-libs (0.16.18-r0) (22/410) Installing sratom (0.6.18-r0) (23/410) Installing lilv-libs (0.24.26-r0) (24/410) Installing opus (1.5.2-r1) (25/410) Installing speexdsp (1.2.1-r2) (26/410) Installing libuv (1.50.0-r0) (27/410) Installing roc-toolkit-libs (0.4.0-r1) (28/410) Installing libogg (1.3.5-r5) (29/410) Installing libflac (1.4.3-r1) (30/410) Installing lame-libs (3.100-r5) (31/410) Installing mpg123-libs (1.32.10-r0) (32/410) Installing libvorbis (1.3.7-r2) (33/410) Installing libsndfile (1.2.2-r2) (34/410) Installing abseil-cpp-raw-logging-internal (20240722.1-r1) (35/410) Installing abseil-cpp-strings-internal (20240722.1-r1) (36/410) Installing abseil-cpp-strings (20240722.1-r1) (37/410) Installing webrtc-audio-processing-2 (2.1-r0) (38/410) Installing pipewire-libs (1.4.1-r1) (39/410) Installing pipewire (1.4.1-r1) Executing pipewire-1.4.1-r1.post-install * * The /usr/libexec/pipewire-launcher script will be removed in the future to replace it with OpenRC user-services. * (40/410) Installing libSvtAv1Enc (2.3.0-r0) (41/410) Installing aom-libs (3.11.0-r1) (42/410) Installing libxau (1.0.12-r0) (43/410) Installing libmd (1.1.0-r0) (44/410) Installing libbsd (0.12.2-r0) (45/410) Installing libxdmcp (1.1.5-r1) (46/410) Installing libxcb (1.17.0-r0) (47/410) Installing libx11 (1.8.11-r0) (48/410) Installing hwdata-pci (0.393-r0) (49/410) Installing libpciaccess (0.18.1-r0) (50/410) Installing libdrm (2.4.124-r0) (51/410) Installing libxext (1.3.6-r2) (52/410) Installing libxfixes (6.0.1-r4) (53/410) Installing wayland-libs-client (1.23.1-r3) (54/410) Installing libva (2.22.0-r1) (55/410) Installing libvdpau (1.5-r4) (56/410) Installing ffmpeg-libavutil (6.1.2-r1) (57/410) Installing libdav1d (1.5.1-r0) (58/410) Installing rav1e-libs (0.7.1-r0) (59/410) Installing soxr (0.1.3-r7) (60/410) Installing ffmpeg-libswresample (6.1.2-r1) (61/410) Installing libtheora (1.1.1-r18) (62/410) Installing libvpx (1.15.0-r0) (63/410) Installing libsharpyuv (1.5.0-r0) (64/410) Installing libwebp (1.5.0-r0) (65/410) Installing libwebpmux (1.5.0-r0) (66/410) Installing x264-libs (0.164.3108-r0) (67/410) Installing numactl (2.0.18-r0) (68/410) Installing x265-libs (3.6-r0) (69/410) Installing xvidcore (1.3.7-r2) (70/410) Installing ffmpeg-libavcodec (6.1.2-r1) (71/410) Installing sdl3 (3.2.10-r0) (72/410) Installing sdl2-compat (2.32.54-r0) (73/410) Installing libbz2 (1.0.8-r6) (74/410) Installing libpng (1.6.47-r0) (75/410) Installing freetype (2.13.3-r0) (76/410) Installing fontconfig (2.15.0-r2) (77/410) Installing fribidi (1.0.16-r0) (78/410) Installing graphite2 (1.3.14-r6) (79/410) Installing harfbuzz (10.2.0-r1) (80/410) Installing libunibreak (6.1-r0) (81/410) Installing libass (0.17.3-r0) (82/410) Installing libbluray (1.3.4-r1) (83/410) Installing libopenmpt (0.7.13-r0) (84/410) Installing mbedtls (3.6.3-r0) (85/410) Installing librist (0.2.10-r1) (86/410) Installing libsrt (1.5.3-r1) (87/410) Installing libssh (0.11.1-r0) (88/410) Installing libxml2 (2.13.7-r1) (89/410) Installing libsodium (1.0.20-r0) (90/410) Installing libzmq (4.3.5-r2) (91/410) Installing ffmpeg-libavformat (6.1.2-r1) (92/410) Installing libdovi (3.3.1-r0) (93/410) Installing spirv-tools (1.4.304.0-r0) (94/410) Installing glslang-libs (1.4.304.0-r0) (95/410) Installing lcms2 (2.16-r0) (96/410) Installing shaderc (2024.4-r0) (97/410) Installing vulkan-loader (1.4.304.1-r1) (98/410) Installing libplacebo (6.338.2-r3) (99/410) Installing ffmpeg-libpostproc (6.1.2-r1) (100/410) Installing ffmpeg-libswscale (6.1.2-r1) (101/410) Installing vidstab (1.1.1-r0) (102/410) Installing zimg (3.0.5-r3) (103/410) Installing ffmpeg-libavfilter (6.1.2-r1) (104/410) Installing libasyncns (0.8-r4) (105/410) Installing libltdl (2.5.4-r0) (106/410) Installing orc (0.4.40-r1) (107/410) Installing tdb-libs (1.4.12-r0) (108/410) Installing libpulse (17.0-r5) (109/410) Installing libjpeg-turbo (3.1.0-r0) (110/410) Installing v4l-utils-libs (1.28.1-r1) (111/410) Installing ffmpeg-libavdevice (6.1.2-r1) (112/410) Installing ffmpeg-dev (6.1.2-r1) (113/410) Installing tzdata (2025b-r0) (114/410) Installing libb2 (0.98.1-r3) (115/410) Installing double-conversion (3.3.1-r0) (116/410) Installing icu-data-en (76.1-r0) Executing icu-data-en-76.1-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (117/410) Installing icu-libs (76.1-r0) (118/410) Installing libpcre2-16 (10.43-r1) (119/410) Installing duktape-libs (2.7.0-r2) (120/410) Installing libproxy (0.5.9-r0) (121/410) Installing qt6-qtbase (6.8.2-r1) (122/410) Installing mariadb-connector-c (3.3.10-r0) (123/410) Installing qt6-qtbase-mysql (6.8.2-r1) (124/410) Installing unixodbc (2.3.12-r0) (125/410) Installing qt6-qtbase-odbc (6.8.2-r1) (126/410) Installing libpq (17.4-r4) (127/410) Installing qt6-qtbase-postgresql (6.8.2-r1) (128/410) Installing sqlite-libs (3.49.1-r0) (129/410) Installing qt6-qtbase-sqlite (6.8.2-r1) (130/410) Installing hicolor-icon-theme (0.18-r0) (131/410) Installing xprop (1.2.8-r0) (132/410) Installing libice (1.1.2-r0) (133/410) Installing libuuid (2.41-r0) (134/410) Installing libsm (1.2.5-r0) (135/410) Installing libxt (1.3.1-r0) (136/410) Installing libxmu (1.2.1-r0) (137/410) Installing xset (1.2.5-r1) (138/410) Installing xdg-utils (1.2.1-r1) (139/410) Installing llvm19-libs (19.1.7-r5) (140/410) Installing libelf (0.192-r0) (141/410) Installing mesa-glapi (24.3.4-r0) (142/410) Installing wayland-libs-server (1.23.1-r3) (143/410) Installing libxxf86vm (1.1.6-r0) (144/410) Installing mesa-gl (24.3.4-r0) (145/410) Installing qt6-qtdeclarative (6.8.2-r0) (146/410) Installing wayland-libs-cursor (1.23.1-r3) (147/410) Installing wayland-libs-egl (1.23.1-r3) (148/410) Installing xkeyboard-config (2.43-r0) (149/410) Installing libxkbcommon (1.8.1-r2) (150/410) Installing qt6-qtwayland (6.8.2-r0) (151/410) Installing libxshmfence (1.3.3-r0) (152/410) Installing mesa (24.3.4-r0) (153/410) Installing mesa-gbm (24.3.4-r0) (154/410) Installing mesa-egl (24.3.4-r0) (155/410) Installing cups-libs (2.4.11-r0) (156/410) Installing gobject-introspection (1.84.0-r0) (157/410) Installing shared-mime-info (2.4-r5) (158/410) Installing tiff (4.7.0-r0) (159/410) Installing gdk-pixbuf (2.42.12-r1) (160/410) Installing gtk-update-icon-cache (3.24.49-r1) (161/410) Installing libxcomposite (0.4.6-r5) (162/410) Installing libxrender (0.9.12-r0) (163/410) Installing libxcursor (1.2.3-r0) (164/410) Installing libxdamage (1.1.6-r5) (165/410) Installing libxi (1.8.2-r0) (166/410) Installing libxinerama (1.1.5-r4) (167/410) Installing libxrandr (1.5.4-r1) (168/410) Installing libatk-1.0 (2.56.1-r0) (169/410) Installing at-spi2-core-libs (2.56.1-r0) (170/410) Installing libxtst (1.2.5-r0) (171/410) Installing at-spi2-core (2.56.1-r0) (172/410) Installing libatk-bridge-2.0 (2.56.1-r0) (173/410) Installing pixman (0.43.4-r1) (174/410) Installing cairo (1.18.2-r1) (175/410) Installing cairo-gobject (1.18.2-r1) (176/410) Installing libepoxy (1.5.10-r1) (177/410) Installing libxft (2.3.8-r3) (178/410) Installing pango (1.56.3-r0) (179/410) Installing gtk+3.0 (3.24.49-r1) (180/410) Installing libevdev (1.13.3-r0) (181/410) Installing mtdev (1.1.7-r0) (182/410) Installing libinput-libs (1.28.0-r0) (183/410) Installing tslib (1.23-r0) (184/410) Installing xcb-util (0.4.1-r3) (185/410) Installing xcb-util-image (0.4.1-r0) (186/410) Installing xcb-util-renderutil (0.3.10-r0) (187/410) Installing xcb-util-cursor (0.1.5-r0) (188/410) Installing xcb-util-wm (0.4.2-r0) (189/410) Installing xcb-util-keysyms (0.4.1-r0) (190/410) Installing libxkbcommon-x11 (1.8.1-r2) (191/410) Installing qt6-qtbase-x11 (6.8.2-r1) (192/410) Installing libgpg-error (1.51-r0) (193/410) Installing libgcrypt (1.10.3-r1) (194/410) Installing libgpg-error-dev (1.51-r0) (195/410) Installing libgcrypt-dev (1.10.3-r1) (196/410) Installing gnutls-c++ (3.8.8-r0) (197/410) Installing libgmpxx (6.3.0-r3) (198/410) Installing gmp-dev (6.3.0-r3) (199/410) Installing nettle-dev (3.10.1-r0) (200/410) Installing libidn2-dev (2.3.7-r0) (201/410) Installing libtasn1-progs (4.20.0-r0) (202/410) Installing libtasn1-dev (4.20.0-r0) (203/410) Installing p11-kit-dev (0.25.5-r2) (204/410) Installing zlib-dev (1.3.1-r2) (205/410) Installing gnutls-dev (3.8.8-r0) (206/410) Installing gdbm (1.24-r0) (207/410) Installing gdbm-tools (1.24-r0) (208/410) Installing gdbm-dev (1.24-r0) (209/410) Installing avahi-compat-howl (0.8-r20) (210/410) Installing avahi-compat-libdns_sd (0.8-r20) (211/410) Installing avahi-glib (0.8-r20) (212/410) Installing libdaemon (0.14-r6) (213/410) Installing libevent (2.1.12-r8) (214/410) Installing avahi (0.8-r20) Executing avahi-0.8-r20.pre-install (215/410) Installing bzip2-dev (1.0.8-r6) (216/410) Installing libxml2-utils (2.13.7-r1) (217/410) Installing docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.post-install (218/410) Installing libxslt (1.1.43-r3) (219/410) Installing docbook-xsl-ns (1.79.2-r11) Executing docbook-xsl-ns-1.79.2-r11.post-install (220/410) Installing docbook-xsl-nons (1.79.2-r11) Executing docbook-xsl-nons-1.79.2-r11.post-install (221/410) Installing docbook-xsl (1.79.2-r11) (222/410) Installing xz (5.8.0-r0) (223/410) Installing gettext-asprintf (0.24-r0) (224/410) Installing gettext-libs (0.24-r0) (225/410) Installing gettext-envsubst (0.24-r0) (226/410) Installing gettext (0.24-r0) (227/410) Installing gettext-dev (0.24-r0) (228/410) Installing mpdecimal (4.0.0-r0) (229/410) Installing libpanelw (6.5_p20250216-r0) (230/410) Installing python3 (3.12.9-r0) (231/410) Installing python3-pycache-pyc0 (3.12.9-r0) (232/410) Installing pyc (3.12.9-r0) (233/410) Installing python3-pyc (3.12.9-r0) (234/410) Installing py3-parsing (3.2.0-r0) (235/410) Installing py3-parsing-pyc (3.2.0-r0) (236/410) Installing py3-packaging (24.2-r0) (237/410) Installing py3-packaging-pyc (24.2-r0) (238/410) Installing linux-headers (6.12.6-r0) (239/410) Installing libffi-dev (3.4.7-r0) (240/410) Installing bsd-compat-headers (0.7.2-r6) (241/410) Installing libformw (6.5_p20250216-r0) (242/410) Installing libmenuw (6.5_p20250216-r0) (243/410) Installing libncurses++ (6.5_p20250216-r0) (244/410) Installing ncurses-dev (6.5_p20250216-r0) (245/410) Installing libedit-dev (20250104.3.1-r0) (246/410) Installing libpcre2-32 (10.43-r1) (247/410) Installing pcre2-dev (10.43-r1) (248/410) Installing libfdisk (2.41-r0) (249/410) Installing libsmartcols (2.41-r0) (250/410) Installing sqlite (3.49.1-r0) (251/410) Installing sqlite-dev (3.49.1-r0) (252/410) Installing util-linux (2.41-r0) (253/410) Installing dmesg (2.41-r0) (254/410) Installing setarch (2.41-r0) (255/410) Installing skalibs-libs (2.14.3.0-r0) (256/410) Installing utmps-libs (0.1.2.3-r2) (257/410) Installing util-linux-misc (2.41-r0) (258/410) Installing linux-pam (1.7.0-r2) (259/410) Installing runuser (2.41-r0) (260/410) Installing mount (2.41-r0) (261/410) Installing losetup (2.41-r0) (262/410) Installing hexdump (2.41-r0) (263/410) Installing uuidgen (2.41-r0) (264/410) Installing blkid (2.41-r0) (265/410) Installing sfdisk (2.41-r0) (266/410) Installing mcookie (2.41-r0) (267/410) Installing agetty (2.41-r0) (268/410) Installing wipefs (2.41-r0) (269/410) Installing cfdisk (2.41-r0) (270/410) Installing umount (2.41-r0) (271/410) Installing flock (2.41-r0) (272/410) Installing lsblk (2.41-r0) (273/410) Installing libcap-ng (0.8.5-r0) (274/410) Installing setpriv (2.41-r0) (275/410) Installing lscpu (2.41-r0) (276/410) Installing logger (2.41-r0) (277/410) Installing partx (2.41-r0) (278/410) Installing fstrim (2.41-r0) (279/410) Installing findmnt (2.41-r0) (280/410) Installing util-linux-dev (2.41-r0) (281/410) Installing glib-dev (2.84.0-r0) (282/410) Installing libevent-dev (2.1.12-r8) (283/410) Installing avahi-dev (0.8-r20) (284/410) Installing cups-dev (2.4.11-r0) (285/410) Installing dbus-dev (1.16.2-r1) (286/410) Installing double-conversion-dev (3.3.1-r0) (287/410) Installing eudev-dev (3.2.14-r5) (288/410) Installing expat (2.7.0-r0) (289/410) Installing expat-dev (2.7.0-r0) (290/410) Installing brotli (1.1.0-r2) (291/410) Installing brotli-dev (1.1.0-r2) (292/410) Installing libpng-dev (1.6.47-r0) (293/410) Installing freetype-dev (2.13.3-r0) (294/410) Installing fontconfig-dev (2.15.0-r2) (295/410) Installing libturbojpeg (3.1.0-r0) (296/410) Installing libjpeg-turbo-dev (3.1.0-r0) (297/410) Installing libtiffxx (4.7.0-r0) (298/410) Installing libwebpdecoder (1.5.0-r0) (299/410) Installing libwebpdemux (1.5.0-r0) (300/410) Installing libwebp-dev (1.5.0-r0) (301/410) Installing zstd (1.5.7-r0) (302/410) Installing zstd-dev (1.5.7-r0) (303/410) Installing tiff-dev (4.7.0-r0) (304/410) Installing gdk-pixbuf-dev (2.42.12-r1) (305/410) Installing xorgproto (2024.1-r0) (306/410) Installing libxau-dev (1.0.12-r0) (307/410) Installing xcb-proto (1.17.0-r0) (308/410) Installing xcb-proto-pyc (1.17.0-r0) (309/410) Installing libxdmcp-dev (1.1.5-r1) (310/410) Installing libxcb-dev (1.17.0-r0) (311/410) Installing xtrans (1.5.2-r0) (312/410) Installing libx11-dev (1.8.11-r0) (313/410) Installing libpciaccess-dev (0.18.1-r0) (314/410) Installing libdrm-dev (2.4.124-r0) (315/410) Installing libxext-dev (1.3.6-r2) (316/410) Installing libxfixes-dev (6.0.1-r4) (317/410) Installing libxdamage-dev (1.1.6-r5) (318/410) Installing libxshmfence-dev (1.3.3-r0) (319/410) Installing mesa-gles (24.3.4-r0) (320/410) Installing mesa-osmesa (24.3.4-r0) (321/410) Installing mesa-xatracker (24.3.4-r0) (322/410) Installing libxxf86vm-dev (1.1.6-r0) (323/410) Installing mesa-dev (24.3.4-r0) (324/410) Installing libepoxy-dev (1.5.10-r1) (325/410) Installing libxi-dev (1.8.2-r0) (326/410) Installing libxinerama-dev (1.1.5-r4) (327/410) Installing xz-dev (5.8.0-r0) (328/410) Installing libxml2-dev (2.13.7-r1) (329/410) Installing libxkbcommon-dev (1.8.1-r2) (330/410) Installing wayland-protocols (1.42-r0) (331/410) Installing libxtst-dev (1.2.5-r0) (332/410) Installing at-spi2-core-dev (2.56.1-r0) (333/410) Installing cairo-tools (1.18.2-r1) (334/410) Installing libxrender-dev (0.9.12-r0) (335/410) Installing pixman-dev (0.43.4-r1) (336/410) Installing util-macros (1.20.1-r0) (337/410) Installing xcb-util-dev (0.4.1-r3) (338/410) Installing cairo-dev (1.18.2-r1) (339/410) Installing fribidi-dev (1.0.16-r0) (340/410) Installing pango-tools (1.56.3-r0) (341/410) Installing harfbuzz-cairo (10.2.0-r1) (342/410) Installing harfbuzz-gobject (10.2.0-r1) (343/410) Installing harfbuzz-icu (10.2.0-r1) (344/410) Installing harfbuzz-subset (10.2.0-r1) (345/410) Installing graphite2-dev (1.3.14-r6) (346/410) Installing icu (76.1-r0) (347/410) Installing icu-dev (76.1-r0) (348/410) Installing harfbuzz-dev (10.2.0-r1) (349/410) Installing libxft-dev (2.3.8-r3) (350/410) Installing pango-dev (1.56.3-r0) (351/410) Installing wayland-dev (1.23.1-r3) (352/410) Installing libxcomposite-dev (0.4.6-r5) (353/410) Installing libxcursor-dev (1.2.3-r0) (354/410) Installing libxrandr-dev (1.5.4-r1) (355/410) Installing gtk+3.0-dev (3.24.49-r1) (356/410) Installing libb2-dev (0.98.1-r3) (357/410) Installing libinput-dev (1.28.0-r0) (358/410) Installing openssl-dev (3.3.3-r0) (359/410) Installing libpq-dev (17.4-r4) (360/410) Installing libproxy-dev (0.5.9-r0) (361/410) Installing fmt (11.1.4-r0) (362/410) Installing fmt-dev (11.1.4-r0) (363/410) Installing mariadb-connector-c-dev (3.3.10-r0) (364/410) Installing mariadb-common (11.4.5-r2) (365/410) Installing libaio (0.3.113-r2) (366/410) Installing mariadb-embedded (11.4.5-r2) (367/410) Installing mariadb-dev (11.4.5-r2) (368/410) Installing tslib-dev (1.23-r0) (369/410) Installing unixodbc-dev (2.3.12-r0) (370/410) Installing vulkan-headers (1.4.304.1-r1) (371/410) Installing vulkan-loader-dev (1.4.304.1-r1) (372/410) Installing xcb-util-image-dev (0.4.1-r0) (373/410) Installing xcb-util-renderutil-dev (0.3.10-r0) (374/410) Installing xcb-util-cursor-dev (0.1.5-r0) (375/410) Installing xcb-util-keysyms-dev (0.4.1-r0) (376/410) Installing xcb-util-wm-dev (0.4.2-r0) (377/410) Installing qt6-qtbase-dev (6.8.2-r1) (378/410) Installing kcoreaddons (6.12.0-r0) (379/410) Installing breeze-icons (6.12.0-r0) (380/410) Installing kde-default-icon-theme (6.12.0-r0) (381/410) Installing kcoreaddons-dev (6.12.0-r0) (382/410) Installing iso-codes (4.17.0-r0) (383/410) Installing iso-codes-dev (4.17.0-r0) (384/410) Installing qt6-qtshadertools (6.8.2-r0) (385/410) Installing qt6-qtshadertools-dev (6.8.2-r0) (386/410) Installing qt6-qtdeclarative-dev (6.8.2-r0) (387/410) Installing iso-codes-lang (4.17.0-r0) (388/410) Installing ki18n (6.12.0-r0) (389/410) Installing ki18n-dev (6.12.0-r0) (390/410) Installing qt6-qtbase-private-dev (6.8.2-r1) (391/410) Installing qt6-qtwayland-dev (6.8.2-r0) (392/410) Installing kwayland (6.3.4-r0) (393/410) Installing kwayland-dev (6.3.4-r0) (394/410) Installing libva-dev (2.22.0-r1) (395/410) Installing pipewire-dev (1.4.1-r1) (396/410) Installing plasma-wayland-protocols (1.16.0-r0) (397/410) Installing libarchive (3.7.7-r0) (398/410) Installing rhash-libs (1.4.5-r0) (399/410) Installing cmake (3.31.6-r1) (400/410) Installing extra-cmake-modules (6.12.0-r0) (401/410) Installing pipewire-tools (1.4.1-r1) (402/410) Installing samurai (1.2-r6) (403/410) Installing .makedepends-kpipewire (20250403.134218) (404/410) Installing dbus (1.16.2-r1) Executing dbus-1.16.2-r1.pre-install Executing dbus-1.16.2-r1.post-install (405/410) Installing dbus-openrc (1.16.2-r1) (406/410) Installing dbus-daemon-launch-helper (1.16.2-r1) (407/410) Installing avahi-openrc (0.8-r20) (408/410) Installing util-linux-openrc (2.41-r0) (409/410) Installing agetty-openrc (0.60.1-r3) (410/410) Installing pipewire-openrc (1.4.1-r1) Executing busybox-1.37.0-r14.trigger Executing glib-2.84.0-r0.trigger Executing shared-mime-info-2.4-r5.trigger Executing gdk-pixbuf-2.42.12-r1.trigger Executing gtk-update-icon-cache-3.24.49-r1.trigger Executing gtk+3.0-3.24.49-r1.trigger Executing dbus-1.16.2-r1.trigger OK: 2307 MiB in 518 packages >>> kpipewire: Cleaning up srcdir >>> kpipewire: Cleaning up pkgdir >>> kpipewire: Cleaning up tmpdir >>> kpipewire: Fetching https://distfiles.alpinelinux.org/distfiles/edge//kpipewire-6.3.4.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> kpipewire: Fetching https://download.kde.org/stable/plasma/6.3.4/kpipewire-6.3.4.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 149k 100 149k 0 0 345k 0 --:--:-- --:--:-- --:--:-- 345k >>> kpipewire: Fetching https://distfiles.alpinelinux.org/distfiles/edge//kpipewire-6.3.4.tar.xz >>> kpipewire: Checking sha512sums... kpipewire-6.3.4.tar.xz: OK >>> kpipewire: Unpacking /var/cache/distfiles/edge/kpipewire-6.3.4.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 -- Found OpenGL: /usr/lib/libGL.so -- Found WrapOpenGL: TRUE -- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.8.1", minimum required is "0.5.0") -- Found WrapVulkanHeaders: /usr/include -- Found Gettext: /usr/bin/msgmerge (found version "0.24") -- Found KF6I18n: /usr/lib/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.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 -- Performing Test HAVE_EGL -- Performing Test HAVE_EGL - Success -- Found EGL: /usr/include (found version "1.5") -- Checking for module 'libpipewire-0.3' -- Found libpipewire-0.3, version 1.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 (2.3s) -- Generating done (0.1s) -- Build files have been written to: /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/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/CMakeFiles/KPipeWire.dir/logging_vaapi.cpp.o [6/115] Building CXX object src/CMakeFiles/KPipeWire.dir/logging.cpp.o [7/115] Building CXX object src/CMakeFiles/KPipeWire.dir/vaapiutils.cpp.o [8/115] Building CXX object src/CMakeFiles/KPipeWire.dir/pwhelpers.cpp.o [9/115] Building CXX object src/CMakeFiles/KPipeWire.dir/glhelpers.cpp.o [10/115] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewiresourcestream.cpp.o [11/115] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewiresourceitem.cpp.o [12/115] Building CXX object src/monitors/autotests/CMakeFiles/mediamonitortest.dir/mediamonitortest.cpp.o [13/115] Building CXX object src/monitors/autotests/CMakeFiles/mediamonitortest.dir/mediamonitortest_autogen/mocs_compilation.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 [16/115] Linking CXX executable bin/mediamonitortest /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/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 [17/115] Linking CXX shared library bin/libKPipeWire.so.6.3.4 [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 PipeWireScreencastingTest [28/115] Generating moc_xdp_dbus_screencast_interface.cpp [29/115] Automatic MOC for target webcamtest [30/115] Automatic MOC for target xdp-recordme [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/PipeWireScreencastingTest.dir/qwayland-zkde-screencast-unstable-v1.cpp.o [38/115] Building C object tests/CMakeFiles/PipeWireScreencastingTest.dir/wayland-zkde-screencast-unstable-v1-protocol.c.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 [39/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/screencastingrequest.cpp.o [40/115] Running AUTOMOC file extraction for target KPipeWireMonitorDeclarative [41/115] Running moc --collect-json for target KPipeWireMonitorDeclarative [42/115] Automatic QML type registration for target KPipeWireMonitorDeclarative [43/115] Running AUTOMOC file extraction for target KPipeWireDeclarative [44/115] Automatic RCC for recordme.qrc [45/115] Running moc --collect-json for target KPipeWireDeclarative [46/115] Automatic QML type registration for target KPipeWireDeclarative [47/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp-recordme_autogen/EWIEGA46WW/qrc_recordme.cpp.o [48/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/RecordMe.cpp.o [49/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp_dbus_screencast_interface.cpp.o [50/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp-main.cpp.o [51/115] Building CXX object tests/CMakeFiles/xdp-recordme.dir/xdp-recordme_autogen/mocs_compilation.cpp.o [52/115] Running rcc for resource qmake_org_kde_pipewire [53/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire.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 [54/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarativeplugin.cpp.o [55/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/kpipewiredeclarative_qmltyperegistrations.cpp.o [56/115] Building CXX object src/CMakeFiles/KPipeWireDeclarative.dir/KPipeWireDeclarative_autogen/mocs_compilation.cpp.o cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] cc1plus: note: unrecognized command-line option '-Wno-c99-extensions' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-gnu-statement-expression-from-macro-expansion' may have been intended to silence earlier diagnostics [57/115] Running rcc for resource qmake_org_kde_pipewire_monitor [58/115] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_monitor.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 [59/115] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/mediamonitor.cpp.o [60/115] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/kpipewiremonitordeclarative_qmltyperegistrations.cpp.o [61/115] Building CXX object src/monitors/CMakeFiles/KPipeWireMonitorDeclarative.dir/KPipeWireMonitorDeclarative_org_kde_pipewire_monitorPlugin.cpp.o 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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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 [62/115] Linking CXX shared library bin/libKPipeWireDmaBuf.so.6.3.4 [63/115] Creating library symlink bin/libKPipeWireDmaBuf.so.6 bin/libKPipeWireDmaBuf.so [64/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 [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 [66/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/screencasting.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.4/src/pipewiresourceitem.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/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.4/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 [67/115] Linking CXX shared module bin/org/kde/pipewire/libKPipeWireDeclarative.so [68/115] Building CXX object tests/CMakeFiles/PipeWireScreencastingTest.dir/PipeWireScreencastingTest_autogen/mocs_compilation.cpp.o [69/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o [70/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o [71/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxencoder.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 [72/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libopenh264encoder.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 [73/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libx264encoder.cpp.o cc1plus: warning: /usr/include/qt6/QtQml/6.8.2: No such file or directory [-Wmissing-include-dirs] cc1plus: warning: /usr/include/qt6/QtQml/6.8.2/QtQml: No such file or directory [-Wmissing-include-dirs] /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/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.4/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.4/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.4/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.4/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.4/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 [74/115] Linking CXX shared module bin/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so [75/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/h264vaapiencoder.cpp.o [76/115] Linking CXX executable bin/xdp-recordme [77/115] Linking CXX static library lib/libPipeWireScreencastingTest.a 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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/libvpxvp9encoder_p.h:10, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/libvpxvp9encoder.cpp:10: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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 [78/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/gifencoder.cpp.o [79/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/encoder.cpp.o [80/115] Automatic MOC for target 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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/libwebpencoder_p.h:6, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/libwebpencoder.cpp:10: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_prepend(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:452:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/spa-0.2/spa/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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 [81/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewireproduce.cpp.o 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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/libvpxencoder_p.h:9, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/libvpxencoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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 [82/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewirerecord.cpp.o [83/115] Automatic RCC for recordme.qrc [84/115] Building CXX object tests/CMakeFiles/recordme.dir/recordme_autogen/EWIEGA46WW/qrc_recordme.cpp.o [85/115] Building CXX object tests/CMakeFiles/recordme.dir/PlasmaRecordMe.cpp.o 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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/libopenh264encoder_p.h:10, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/libopenh264encoder.cpp:10: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: In function 'void spa_hook_list_append(spa_hook_list*, spa_hook*, const void*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] 133 | #define SPA_CALLBACKS_INIT(_funcs,_data) ((struct spa_callbacks){ (_funcs), (_data), }) | ^ /usr/include/spa-0.2/spa/utils/hook.h:442:20: note: in expansion of macro 'SPA_CALLBACKS_INIT' 442 | hook->cb = SPA_CALLBACKS_INIT(funcs, data); | ^~~~~~~~~~~~~~~~~~ /usr/include/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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 [86/115] Building CXX object tests/CMakeFiles/recordme.dir/main.cpp.o 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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/libx264encoder_p.h:9, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/libx264encoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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 [87/115] Building CXX object tests/CMakeFiles/recordme.dir/recordme_autogen/mocs_compilation.cpp.o [88/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewireencodedstream.cpp.o 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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/h264vaapiencoder_p.h:9, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/h264vaapiencoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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 [89/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/pipewirebaseencodedstream.cpp.o 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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/gifencoder_p.h:6, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/gifencoder.cpp:10: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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 [90/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/logging_libav.cpp.o [91/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o 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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/encoder.cpp:9: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h: 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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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 [92/115] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/KPipeWireRecord_autogen/mocs_compilation.cpp.o [93/115] Building CXX object tests/CMakeFiles/webcamtest.dir/webcamtest_autogen/mocs_compilation.cpp.o [94/115] Linking CXX executable bin/webcamtest 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.4/src/pipewireproduce_p.h:13, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/pipewireencodedstream_p.h:10, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/pipewireencodedstream.cpp:8: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewireproduce_p.h:14: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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.4/src/pipewireproduce_p.h:16: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/encoder_p.h:15, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/pipewirerecord.cpp:8: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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.4/src/pipewireproduce_p.h:13, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/pipewireproduce.cpp:7: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewireproduce_p.h:14: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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.4/src/pipewireproduce_p.h:16: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewireproduce_p.h:13, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/pipewirebaseencodedstream.cpp:20: /usr/include/spa-0.2/spa/utils/list.h: In function 'void spa_list_init(spa_list*)': /usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] 37 | #define SPA_LIST_INIT(list) ((struct spa_list){ (list), (list) }) | ^ /usr/include/spa-0.2/spa/utils/list.h:41:17: note: in expansion of macro 'SPA_LIST_INIT' 41 | *list = SPA_LIST_INIT(list); | ^~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewireproduce_p.h:14: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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.4/src/pipewireproduce_p.h:16: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4 [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.4/src/pipewiresourcestream.h:20, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/src/dmabufhandler.h:11, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/build/src/DmaBufHandler:1, from /home/buildozer/aports/community/kpipewire/src/kpipewire-6.3.4/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:[K note: in expansion of macro '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_tag*)': /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:273:22: note: in expansion of macro 'spa_interface_call' 273 | if (!spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 165 | ({ \ | ^ /usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro 'spa_callbacks_call' 238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/support/log.h:277:21: note: in expansion of macro 'spa_interface_call' 277 | spa_interface_call(i, | ^~~~~~~~~~~~~~~~~~ /usr/include/pipewire-0.3/pipewire/link.h: In function 'int pw_link_add_listener(pw_link*, spa_hook*, const pw_link_events*, void*)': /usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \ | ^ /usr/include/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.4/src/pipewiresourcestream.h:21: /usr/include/spa-0.2/spa/pod/parser.h: In function 'void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)': /usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] 44 | #define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/parser.h:49:19: note: in expansion of macro 'SPA_POD_PARSER_INIT' 49 | *parser = SPA_POD_PARSER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/param/format-utils.h: In function 'int spa_format_parse(const spa_pod*, uint32_t*, uint32_t*)': /usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 561 | ({ \ | ^ /usr/include/spa-0.2/spa/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.4/src/pipewiresourcestream.h:23: /usr/include/spa-0.2/spa/pod/builder.h: In function 'void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)': /usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] 60 | #define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ^ /usr/include/spa-0.2/spa/pod/builder.h:87:20: note: in expansion of macro 'SPA_POD_BUILDER_INIT' 87 | *builder = SPA_POD_BUILDER_INIT(data, size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/pod/builder.h: In function 'int spa_pod_builder_raw(spa_pod_builder*, const void*, uint32_t)': /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 207 | ({ \ | ^ /usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro 'spa_callbacks_call_res' 140 | spa_callbacks_call_res(&builder->callbacks, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/spa-0.2/spa/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.4 -- 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.4 -- 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.4" 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.4 -- 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.4" 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/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/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/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/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/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 -- 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 >>> 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.4-r0 >>> kpipewire-dev*: Package size: 31.7 KB >>> kpipewire-dev*: Compressing data... >>> kpipewire-dev*: Create checksum... >>> kpipewire-dev*: Create kpipewire-dev-6.3.4-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.4-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-s390x.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: 456.5 KB >>> kpipewire*: Compressing data... >>> kpipewire*: Create checksum... >>> kpipewire*: Create kpipewire-6.3.4-r0.apk >>> kpipewire: Build complete at Thu, 03 Apr 2025 13:43:15 +0000 elapsed time 0h 0m 58s >>> kpipewire: Cleaning up srcdir >>> kpipewire: Cleaning up pkgdir >>> kpipewire: Uninstalling dependencies... (1/410) Purging .makedepends-kpipewire (20250403.134218) (2/410) Purging ffmpeg-dev (6.1.2-r1) (3/410) Purging ffmpeg-libavdevice (6.1.2-r1) (4/410) Purging ffmpeg-libavfilter (6.1.2-r1) (5/410) Purging ffmpeg-libavformat (6.1.2-r1) (6/410) Purging ffmpeg-libpostproc (6.1.2-r1) (7/410) Purging ffmpeg-libswscale (6.1.2-r1) (8/410) Purging kcoreaddons-dev (6.12.0-r0) (9/410) Purging kde-default-icon-theme (6.12.0-r0) (10/410) Purging breeze-icons (6.12.0-r0) (11/410) Purging kcoreaddons (6.12.0-r0) (12/410) Purging ki18n-dev (6.12.0-r0) (13/410) Purging iso-codes-dev (4.17.0-r0) (14/410) Purging iso-codes (4.17.0-r0) (15/410) Purging ki18n (6.12.0-r0) (16/410) Purging iso-codes-lang (4.17.0-r0) (17/410) Purging kwayland-dev (6.3.4-r0) (18/410) Purging kwayland (6.3.4-r0) (19/410) Purging libva-dev (2.22.0-r1) (20/410) Purging pipewire-dev (1.4.1-r1) (21/410) Purging plasma-wayland-protocols (1.16.0-r0) (22/410) Purging qt6-qtwayland-dev (6.8.2-r0) (23/410) Purging qt6-qtbase-private-dev (6.8.2-r1) (24/410) Purging qt6-qtwayland (6.8.2-r0) (25/410) Purging extra-cmake-modules (6.12.0-r0) (26/410) Purging cmake (3.31.6-r1) (27/410) Purging pipewire-tools (1.4.1-r1) (28/410) Purging pipewire-openrc (1.4.1-r1) (29/410) Purging pipewire (1.4.1-r1) (30/410) Purging samurai (1.2-r6) (31/410) Purging agetty-openrc (0.60.1-r3) (32/410) Purging agetty (2.41-r0) (33/410) Purging at-spi2-core (2.56.1-r0) (34/410) Purging avahi-openrc (0.8-r20) (35/410) Purging dbus-openrc (1.16.2-r1) (36/410) Purging dbus-daemon-launch-helper (1.16.2-r1) (37/410) Purging dbus (1.16.2-r1) (38/410) Purging blkid (2.41-r0) (39/410) Purging cfdisk (2.41-r0) (40/410) Purging dmesg (2.41-r0) (41/410) Purging ffmpeg-libavcodec (6.1.2-r1) (42/410) Purging ffmpeg-libswresample (6.1.2-r1) (43/410) Purging findmnt (2.41-r0) (44/410) Purging flock (2.41-r0) (45/410) Purging fstrim (2.41-r0) (46/410) Purging hexdump (2.41-r0) (47/410) Purging libarchive (3.7.7-r0) (48/410) Purging libass (0.17.3-r0) (49/410) Purging libbluray (1.3.4-r1) (50/410) Purging libdav1d (1.5.1-r0) (51/410) Purging libopenmpt (0.7.13-r0) (52/410) Purging libplacebo (6.338.2-r3) (53/410) Purging libpulse (17.0-r5) (54/410) Purging librist (0.2.10-r1) (55/410) Purging libsrt (1.5.3-r1) (56/410) Purging libssh (0.11.1-r0) (57/410) Purging libSvtAv1Enc (2.3.0-r0) (58/410) Purging libtheora (1.1.1-r18) (59/410) Purging libunibreak (6.1-r0) (60/410) Purging libvpx (1.15.0-r0) (61/410) Purging libzmq (4.3.5-r2) (62/410) Purging logger (2.41-r0) (63/410) Purging losetup (2.41-r0) (64/410) Purging lsblk (2.41-r0) (65/410) Purging lscpu (2.41-r0) (66/410) Purging mbedtls (3.6.3-r0) (67/410) Purging mcookie (2.41-r0) (68/410) Purging mount (2.41-r0) (69/410) Purging orc (0.4.40-r1) (70/410) Purging partx (2.41-r0) (71/410) Purging pipewire-libs (1.4.1-r1) (72/410) Purging py3-packaging-pyc (24.2-r0) (73/410) Purging py3-parsing-pyc (3.2.0-r0) (74/410) Purging python3-pyc (3.12.9-r0) (75/410) Purging python3-pycache-pyc0 (3.12.9-r0) (76/410) Purging xcb-proto-pyc (1.17.0-r0) (77/410) Purging pyc (3.12.9-r0) (78/410) Purging qt6-qtdeclarative-dev (6.8.2-r0) (79/410) Purging qt6-qtshadertools-dev (6.8.2-r0) (80/410) Purging qt6-qtshadertools (6.8.2-r0) (81/410) Purging rav1e-libs (0.7.1-r0) (82/410) Purging rhash-libs (1.4.5-r0) (83/410) Purging roc-toolkit-libs (0.4.0-r1) (84/410) Purging runuser (2.41-r0) (85/410) Purging sdl2-compat (2.32.54-r0) (86/410) Purging sdl3 (3.2.10-r0) (87/410) Purging setpriv (2.41-r0) (88/410) Purging sfdisk (2.41-r0) (89/410) Purging shaderc (2024.4-r0) (90/410) Purging soxr (0.1.3-r7) (91/410) Purging speexdsp (1.2.1-r2) (92/410) Purging tdb-libs (1.4.12-r0) (93/410) Purging umount (2.41-r0) (94/410) Purging util-linux-misc (2.41-r0) (95/410) Purging setarch (2.41-r0) (96/410) Purging util-linux-openrc (2.41-r0) (97/410) Purging uuidgen (2.41-r0) (98/410) Purging v4l-utils-libs (1.28.1-r1) (99/410) Purging vidstab (1.1.1-r0) (100/410) Purging webrtc-audio-processing-2 (2.1-r0) (101/410) Purging wipefs (2.41-r0) (102/410) Purging x264-libs (0.164.3108-r0) (103/410) Purging x265-libs (3.6-r0) (104/410) Purging xvidcore (1.3.7-r2) (105/410) Purging zimg (3.0.5-r3) (106/410) Purging abseil-cpp-strings (20240722.1-r1) (107/410) Purging abseil-cpp-strings-internal (20240722.1-r1) (108/410) Purging abseil-cpp-raw-logging-internal (20240722.1-r1) (109/410) Purging libsndfile (1.2.2-r2) (110/410) Purging alsa-lib (1.2.13-r0) (111/410) Purging aom-libs (3.11.0-r1) (112/410) Purging qt6-qtbase-dev (6.8.2-r1) (113/410) Purging qt6-qtbase-mysql (6.8.2-r1) (114/410) Purging qt6-qtbase-odbc (6.8.2-r1) (115/410) Purging qt6-qtbase-postgresql (6.8.2-r1) (116/410) Purging qt6-qtbase-sqlite (6.8.2-r1) (117/410) Purging cups-dev (2.4.11-r0) (118/410) Purging libgcrypt-dev (1.10.3-r1) (119/410) Purging double-conversion-dev (3.3.1-r0) (120/410) Purging libb2-dev (0.98.1-r3) (121/410) Purging libinput-dev (1.28.0-r0) (122/410) Purging eudev-dev (3.2.14-r5) (123/410) Purging libpq-dev (17.4-r4) (124/410) Purging libpq (17.4-r4) (125/410) Purging libproxy-dev (0.5.9-r0) (126/410) Purging mariadb-dev (11.4.5-r2) (127/410) Purging fmt-dev (11.1.4-r0) (128/410) Purging fmt (11.1.4-r0) (129/410) Purging mariadb-connector-c-dev (3.3.10-r0) (130/410) Purging mariadb-connector-c (3.3.10-r0) (131/410) Purging mariadb-embedded (11.4.5-r2) (132/410) Purging mariadb-common (11.4.5-r2) (133/410) Purging openssl-dev (3.3.3-r0) (134/410) Purging tslib-dev (1.23-r0) (135/410) Purging unixodbc-dev (2.3.12-r0) (136/410) Purging unixodbc (2.3.12-r0) (137/410) Purging vulkan-loader-dev (1.4.304.1-r1) (138/410) Purging vulkan-headers (1.4.304.1-r1) (139/410) Purging vulkan-loader (1.4.304.1-r1) (140/410) Purging xcb-util-cursor-dev (0.1.5-r0) (141/410) Purging xcb-util-image-dev (0.4.1-r0) (142/410) Purging xcb-util-keysyms-dev (0.4.1-r0) (143/410) Purging xcb-util-renderutil-dev (0.3.10-r0) (144/410) Purging xcb-util-wm-dev (0.4.2-r0) (145/410) Purging gtk+3.0-dev (3.24.49-r1) (146/410) Purging wayland-protocols (1.42-r0) (147/410) Purging at-spi2-core-dev (2.56.1-r0) (148/410) Purging qt6-qtdeclarative (6.8.2-r0) (149/410) Purging qt6-qtbase-x11 (6.8.2-r1) (150/410) Purging xdg-utils (1.2.1-r1) (151/410) Purging xprop (1.2.8-r0) (152/410) Purging xset (1.2.5-r1) (153/410) Purging gtk+3.0 (3.24.49-r1) Executing gtk+3.0-3.24.49-r1.post-deinstall (154/410) Purging gobject-introspection (1.84.0-r0) (155/410) Purging gtk-update-icon-cache (3.24.49-r1) (156/410) Purging hicolor-icon-theme (0.18-r0) (157/410) Purging libatk-bridge-2.0 (2.56.1-r0) (158/410) Purging at-spi2-core-libs (2.56.1-r0) (159/410) Purging avahi-dev (0.8-r20) (160/410) Purging gdbm-dev (1.24-r0) (161/410) Purging gdbm-tools (1.24-r0) (162/410) Purging avahi-compat-howl (0.8-r20) (163/410) Purging avahi-compat-libdns_sd (0.8-r20) (164/410) Purging avahi-glib (0.8-r20) (165/410) Purging avahi (0.8-r20) (166/410) Purging cups-libs (2.4.11-r0) (167/410) Purging avahi-libs (0.8-r20) (168/410) Purging pango-dev (1.56.3-r0) (169/410) Purging pango-tools (1.56.3-r0) (170/410) Purging pango (1.56.3-r0) Executing pango-1.56.3-r0.pre-deinstall (171/410) Purging harfbuzz-dev (10.2.0-r1) (172/410) Purging harfbuzz-cairo (10.2.0-r1) (173/410) Purging harfbuzz-gobject (10.2.0-r1) (174/410) Purging harfbuzz-icu (10.2.0-r1) (175/410) Purging harfbuzz-subset (10.2.0-r1) (176/410) Purging harfbuzz (10.2.0-r1) (177/410) Purging graphite2-dev (1.3.14-r6) (178/410) Purging graphite2 (1.3.14-r6) (179/410) Purging cairo-dev (1.18.2-r1) (180/410) Purging cairo-tools (1.18.2-r1) (181/410) Purging xcb-util-dev (0.4.1-r3) (182/410) Purging util-macros (1.20.1-r0) (183/410) Purging cairo-gobject (1.18.2-r1) (184/410) Purging cairo (1.18.2-r1) (185/410) Purging libxft-dev (2.3.8-r3) (186/410) Purging libxft (2.3.8-r3) (187/410) Purging fontconfig-dev (2.15.0-r2) (188/410) Purging fontconfig (2.15.0-r2) (189/410) Purging freetype-dev (2.13.3-r0) (190/410) Purging freetype (2.13.3-r0) (191/410) Purging brotli-dev (1.1.0-r2) (192/410) Purging brotli (1.1.0-r2) (193/410) Purging gdk-pixbuf-dev (2.42.12-r1) (194/410) Purging gdk-pixbuf (2.42.12-r1) Executing gdk-pixbuf-2.42.12-r1.pre-deinstall (195/410) Purging glib-dev (2.84.0-r0) (196/410) Purging bzip2-dev (1.0.8-r6) (197/410) Purging docbook-xsl (1.79.2-r11) (198/410) Purging docbook-xsl-ns (1.79.2-r11) Executing docbook-xsl-ns-1.79.2-r11.pre-deinstall (199/410) Purging docbook-xsl-nons (1.79.2-r11) Executing docbook-xsl-nons-1.79.2-r11.pre-deinstall (200/410) Purging docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.pre-deinstall (201/410) Purging gettext-dev (0.24-r0) (202/410) Purging gettext-asprintf (0.24-r0) (203/410) Purging gettext (0.24-r0) (204/410) Purging gettext-envsubst (0.24-r0) (205/410) Purging libxslt (1.1.43-r3) (206/410) Purging py3-packaging (24.2-r0) (207/410) Purging py3-parsing (3.2.0-r0) (208/410) Purging pcre2-dev (10.43-r1) (209/410) Purging libpcre2-32 (10.43-r1) (210/410) Purging libedit-dev (20250104.3.1-r0) (211/410) Purging ncurses-dev (6.5_p20250216-r0) (212/410) Purging libncurses++ (6.5_p20250216-r0) (213/410) Purging bsd-compat-headers (0.7.2-r6) (214/410) Purging dbus-dev (1.16.2-r1) (215/410) Purging qt6-qtbase (6.8.2-r1) (216/410) Purging tzdata (2025b-r0) (217/410) Purging dbus-libs (1.16.2-r1) (218/410) Purging double-conversion (3.3.1-r0) (219/410) Purging libproxy (0.5.9-r0) (220/410) Purging duktape-libs (2.7.0-r2) (221/410) Purging libinput-libs (1.28.0-r0) (222/410) Purging libcamera (0.4.0-r2) (223/410) Purging eudev-libs (3.2.14-r5) (224/410) Purging wayland-dev (1.23.1-r3) (225/410) Purging wayland-libs-cursor (1.23.1-r3) (226/410) Purging wayland-libs-egl (1.23.1-r3) (227/410) Purging expat-dev (2.7.0-r0) (228/410) Purging expat (2.7.0-r0) (229/410) Purging ffmpeg-libavutil (6.1.2-r1) (230/410) Purging fribidi-dev (1.0.16-r0) (231/410) Purging fribidi (1.0.16-r0) (232/410) Purging libevent-dev (2.1.12-r8) (233/410) Purging libevent (2.1.12-r8) (234/410) Purging libepoxy-dev (1.5.10-r1) (235/410) Purging libepoxy (1.5.10-r1) (236/410) Purging mesa-dev (24.3.4-r0) (237/410) Purging libxdamage-dev (1.1.6-r5) (238/410) Purging libxdamage (1.1.6-r5) (239/410) Purging libxshmfence-dev (1.3.3-r0) (240/410) Purging mesa-egl (24.3.4-r0) (241/410) Purging mesa-gbm (24.3.4-r0) (242/410) Purging mesa-gl (24.3.4-r0) (243/410) Purging mesa-gles (24.3.4-r0) (244/410) Purging mesa-osmesa (24.3.4-r0) (245/410) Purging mesa-xatracker (24.3.4-r0) (246/410) Purging mesa (24.3.4-r0) (247/410) Purging libxrandr-dev (1.5.4-r1) (248/410) Purging libxrandr (1.5.4-r1) (249/410) Purging libxcomposite-dev (0.4.6-r5) (250/410) Purging libxcomposite (0.4.6-r5) (251/410) Purging libxinerama-dev (1.1.5-r4) (252/410) Purging libxinerama (1.1.5-r4) (253/410) Purging libxxf86vm-dev (1.1.6-r0) (254/410) Purging libxxf86vm (1.1.6-r0) (255/410) Purging libxcursor-dev (1.2.3-r0) (256/410) Purging libxcursor (1.2.3-r0) (257/410) Purging libxrender-dev (0.9.12-r0) (258/410) Purging libxrender (0.9.12-r0) (259/410) Purging libxtst-dev (1.2.5-r0) (260/410) Purging libxtst (1.2.5-r0) (261/410) Purging libxi-dev (1.8.2-r0) (262/410) Purging libxi (1.8.2-r0) (263/410) Purging libxfixes-dev (6.0.1-r4) (264/410) Purging libxext-dev (1.3.6-r2) (265/410) Purging libx11-dev (1.8.11-r0) (266/410) Purging xtrans (1.5.2-r0) (267/410) Purging libxkbcommon-dev (1.8.1-r2) (268/410) Purging libxkbcommon-x11 (1.8.1-r2) (269/410) Purging libxkbcommon (1.8.1-r2) (270/410) Purging xkeyboard-config (2.43-r0) (271/410) Purging libxcb-dev (1.17.0-r0) (272/410) Purging xcb-proto (1.17.0-r0) (273/410) Purging python3 (3.12.9-r0) (274/410) Purging gdbm (1.24-r0) (275/410) Purging gettext-libs (0.24-r0) (276/410) Purging shared-mime-info (2.4-r5) Executing shared-mime-info-2.4-r5.post-deinstall (277/410) Purging libatk-1.0 (2.56.1-r0) (278/410) Purging glib (2.84.0-r0) (279/410) Purging glslang-libs (1.4.304.0-r0) (280/410) Purging gnutls-dev (3.8.8-r0) (281/410) Purging gnutls-c++ (3.8.8-r0) (282/410) Purging gnutls (3.8.8-r0) (283/410) Purging nettle-dev (3.10.1-r0) (284/410) Purging nettle (3.10.1-r0) (285/410) Purging gmp-dev (6.3.0-r3) (286/410) Purging libgmpxx (6.3.0-r3) (287/410) Purging libdrm-dev (2.4.124-r0) (288/410) Purging libpciaccess-dev (0.18.1-r0) (289/410) Purging libva (2.22.0-r1) (290/410) Purging libdrm (2.4.124-r0) (291/410) Purging libpciaccess (0.18.1-r0) (292/410) Purging hwdata-pci (0.393-r0) (293/410) Purging icu-dev (76.1-r0) (294/410) Purging icu (76.1-r0) (295/410) Purging icu-libs (76.1-r0) (296/410) Purging icu-data-en (76.1-r0) (297/410) Purging lame-libs (3.100-r5) (298/410) Purging lcms2 (2.16-r0) (299/410) Purging libaio (0.3.113-r2) (300/410) Purging libasyncns (0.8-r4) (301/410) Purging libb2 (0.98.1-r3) (302/410) Purging util-linux-dev (2.41-r0) (303/410) Purging libfdisk (2.41-r0) (304/410) Purging libmount (2.41-r0) (305/410) Purging libsmartcols (2.41-r0) (306/410) Purging util-linux (2.41-r0) (307/410) Purging libblkid (2.41-r0) (308/410) Purging libxdmcp-dev (1.1.5-r1) (309/410) Purging xcb-util-cursor (0.1.5-r0) (310/410) Purging xcb-util-renderutil (0.3.10-r0) (311/410) Purging xcb-util-image (0.4.1-r0) (312/410) Purging xcb-util-wm (0.4.2-r0) (313/410) Purging libxmu (1.2.1-r0) (314/410) Purging libvdpau (1.5-r4) (315/410) Purging libxext (1.3.6-r2) (316/410) Purging libxt (1.3.1-r0) (317/410) Purging libxfixes (6.0.1-r4) (318/410) Purging libx11 (1.8.11-r0) (319/410) Purging xcb-util-keysyms (0.4.1-r0) (320/410) Purging xcb-util (0.4.1-r3) (321/410) Purging libxcb (1.17.0-r0) (322/410) Purging libxdmcp (1.1.5-r1) (323/410) Purging libbsd (0.12.2-r0) (324/410) Purging libbz2 (1.0.8-r6) (325/410) Purging libcap-ng (0.8.5-r0) (326/410) Purging libdaemon (0.14-r6) (327/410) Purging libdovi (3.3.1-r0) (328/410) Purging libeconf (0.6.3-r0) (329/410) Purging libelf (0.192-r0) (330/410) Purging libevdev (1.13.3-r0) (331/410) Purging libffi-dev (3.4.7-r0) (332/410) Purging linux-headers (6.12.6-r0) (333/410) Purging llvm19-libs (19.1.7-r5) (334/410) Purging wayland-libs-client (1.23.1-r3) (335/410) Purging p11-kit-dev (0.25.5-r2) (336/410) Purging p11-kit (0.25.5-r2) (337/410) Purging wayland-libs-server (1.23.1-r3) (338/410) Purging libffi (3.4.7-r0) (339/410) Purging libflac (1.4.3-r1) (340/410) Purging libformw (6.5_p20250216-r0) (341/410) Purging libgcrypt (1.10.3-r1) (342/410) Purging libgpg-error-dev (1.51-r0) (343/410) Purging libgpg-error (1.51-r0) (344/410) Purging libsm (1.2.5-r0) (345/410) Purging libice (1.1.2-r0) (346/410) Purging libidn2-dev (2.3.7-r0) (347/410) Purging libintl (0.24-r0) (348/410) Purging tiff-dev (4.7.0-r0) (349/410) Purging libtiffxx (4.7.0-r0) (350/410) Purging tiff (4.7.0-r0) (351/410) Purging libjpeg-turbo-dev (3.1.0-r0) (352/410) Purging libturbojpeg (3.1.0-r0) (353/410) Purging libjpeg-turbo (3.1.0-r0) (354/410) Purging libltdl (2.5.4-r0) (355/410) Purging libmd (1.1.0-r0) (356/410) Purging libmenuw (6.5_p20250216-r0) (357/410) Purging libvorbis (1.3.7-r2) (358/410) Purging libogg (1.3.5-r5) (359/410) Purging libpanelw (6.5_p20250216-r0) (360/410) Purging libpcre2-16 (10.43-r1) (361/410) Purging libpng-dev (1.6.47-r0) (362/410) Purging libpng (1.6.47-r0) (363/410) Purging libwebp-dev (1.5.0-r0) (364/410) Purging libwebpdecoder (1.5.0-r0) (365/410) Purging libwebpdemux (1.5.0-r0) (366/410) Purging libwebpmux (1.5.0-r0) (367/410) Purging libwebp (1.5.0-r0) (368/410) Purging libsharpyuv (1.5.0-r0) (369/410) Purging libsodium (1.0.20-r0) (370/410) Purging libtasn1-dev (4.20.0-r0) (371/410) Purging libtasn1-progs (4.20.0-r0) (372/410) Purging libtasn1 (4.20.0-r0) (373/410) Purging libunwind (1.8.1-r0) (374/410) Purging libuuid (2.41-r0) (375/410) Purging libuv (1.50.0-r0) (376/410) Purging libxau-dev (1.0.12-r0) (377/410) Purging libxau (1.0.12-r0) (378/410) Purging libxml2-dev (2.13.7-r1) (379/410) Purging libxml2-utils (2.13.7-r1) (380/410) Purging libxml2 (2.13.7-r1) (381/410) Purging libxshmfence (1.3.3-r0) (382/410) Purging lilv-libs (0.24.26-r0) (383/410) Purging linux-pam (1.7.0-r2) (384/410) Purging mesa-glapi (24.3.4-r0) (385/410) Purging mpdecimal (4.0.0-r0) (386/410) Purging mpg123-libs (1.32.10-r0) (387/410) Purging mtdev (1.1.7-r0) (388/410) Purging numactl (2.0.18-r0) (389/410) Purging opus (1.5.2-r1) (390/410) Purging pixman-dev (0.43.4-r1) (391/410) Purging pixman (0.43.4-r1) (392/410) Purging sratom (0.6.18-r0) (393/410) Purging sord-libs (0.16.18-r0) (394/410) Purging serd-libs (0.32.4-r0) (395/410) Purging utmps-libs (0.1.2.3-r2) (396/410) Purging skalibs-libs (2.14.3.0-r0) (397/410) Purging spirv-tools (1.4.304.0-r0) (398/410) Purging sqlite-dev (3.49.1-r0) (399/410) Purging sqlite-libs (3.49.1-r0) (400/410) Purging sqlite (3.49.1-r0) (401/410) Purging tslib (1.23-r0) (402/410) Purging xorgproto (2024.1-r0) (403/410) Purging xz-dev (5.8.0-r0) (404/410) Purging xz (5.8.0-r0) (405/410) Purging xz-libs (5.8.0-r0) (406/410) Purging yaml (0.2.5-r2) (407/410) Purging zix-libs (0.6.2-r0) (408/410) Purging zlib-dev (1.3.1-r2) (409/410) Purging zstd-dev (1.5.7-r0) (410/410) Purging zstd (1.5.7-r0) Executing busybox-1.37.0-r14.trigger OK: 359 MiB in 108 packages >>> kpipewire: Updating the community/s390x repository index... >>> kpipewire: Signing the index...