Task #52645 - stdout.log
back to task #52645download
<...trimmed, download required for full log>
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/pipewire-0.3/pipewire/port.h[ 78%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/cscppc/g++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/ffmpeg -isystem /usr/include/libdrm -isystem /usr/include/qt6/QtGui/6.9.0 -isystem /usr/include/qt6/QtGui/6.9.0/QtGui -isystem /usr/include/qt6/QtCore/6.9.0 -isystem /usr/include/qt6/QtCore/6.9.0/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o -c /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libvpxencoder.cpp
:173:16: note: in expansion of macro ‘spa_api_method_r’cswrap: warning: <--[g++]
173 | return spa_api_method_r(int, -ENOTSUP,
| ^~~~~~~~~~~~~~~~
cswrap: warning: 2025-04-25 13:46:48 still trying to lock /cswrap_cap_file_lock
2025-04-25 13:46:48 still trying to lock /cswrap_cap_file_lock
/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*)’:cswrap: warning: <--[g++]
cswrap: warning: 2025-04-25 13:46:48 still trying to lock /cswrap_cap_file_lock/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic]
<--[g++]
281 | ({ \
| ^
2025-04-25 13:46:48 still trying to lock /cswrap_cap_file_lock
cswrap: warning: /usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
2025-04-25 13:46:48 still trying to lock /cswrap_cap_file_lock | ^
cswrap: warning: /usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
2025-04-25 13:46:48 still trying to lock /cswrap_cap_file_lock/usr/include/spa-0.2/spa/utils/hook.h
:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewireproduce_p.h:14: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewireproduce_p.h:16: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
from /usr/include/spa-0.2/spa/support/plugin.h:15, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:20, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/dmabufhandler.h:11, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder_p.h:15, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libopenh264encoder_p.h:10, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libopenh264encoder.cpp:10: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h: In function ‘void spa_list_init(spa_list*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h: In function ‘const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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: <--[g++]
/usr/include/pipewire-0.3/pipewire/array.h: In function ‘int pw_array_ensure_size(pw_array*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
285 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro ‘SPA_ROUND_UP’ <--[g++]
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*, ...)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.hIn file included from :354:16: note: in expansion of macro ‘spa_api_method_r’/usr/include/spa-0.2/spa/utils/hook.h <--[g++]
:13, <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h: In function ‘void spa_json_init(spa_json*, const char*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
159 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
cswrap: warning: 281 | ({ \
| ^
2025-04-25 13:47:05 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0,
cswrap: warning: | ^~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
cswrap: warning: | ^~~~~~~~~~~~~~~~~~~~~~
2025-04-25 13:47:05 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
2025-04-25 13:47:05 still trying to lock /cswrap_cap_file_lock
cswrap: warning: 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’ <--[g++]
742 | return spa_api_method_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0,
| ^~~~~~~~~~~~~~~~
2025-04-25 13:47:05 still trying to lock /cswrap_cap_file_lock
cswrap: warning: /usr/include/spa-0.2/spa/node/node.h: In function ‘int spa_node_port_reuse_buffer_fast(spa_node*, uint32_t, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
cswrap: warning: 2025-04-25 13:47:05 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
747 | return spa_api_method_fast_r(int, -ENOTSUP, spa_node, &object->iface, port_reuse_buffer, 0,
| ^~~~~~~~~~~~~~~~~~~~~
2025-04-25 13:47:05 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:21: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:23: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
cswrap: warning: 255 | #define SPA_POD_INIT_Long(val) ((struct spa_pod_long){ { sizeof(int64_t), SPA_TYPE_Long }, (val) })
[ 80%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/cscppc/g++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/ffmpeg -isystem /usr/include/libdrm -isystem /usr/include/qt6/QtGui/6.9.0 -isystem /usr/include/qt6/QtGui/6.9.0/QtGui -isystem /usr/include/qt6/QtCore/6.9.0 -isystem /usr/include/qt6/QtCore/6.9.0/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o -c /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libvpxvp9encoder.cpp
2025-04-25 13:47:11 still trying to lock /cswrap_cap_file_lock | ^
/usr/include/spa-0.2/spa/pod/builder.h:259:39: note: in expansion of macro ‘SPA_POD_INIT_Long’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
from /usr/include/spa-0.2/spa/support/plugin.h:15, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:20, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/dmabufhandler.h:11, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder_p.h:15, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/h264vaapiencoder_p.h:9, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/h264vaapiencoder.cpp:9: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h: In function ‘void spa_list_init(spa_list*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h: In function ‘const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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: <--[g++]
/usr/include/pipewire-0.3/pipewire/array.h: In function ‘int pw_array_ensure_size(pw_array*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
285 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro ‘SPA_ROUND_UP’ <--[g++]
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*, ...)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
318 | spa_interface_call_fast_res(_i, struct type ##_methods, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/utils/hook.h:13,/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
<--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h: In function ‘void spa_json_init(spa_json*, const char*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
159 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
cswrap: warning: 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
cswrap: warning: cswrap: warning: /usr/include/spa-0.2/spa/utils/hook.h2025-04-25 13:47:22 still trying to lock /cswrap_cap_file_lock:284:9: note: in expansion of macro ‘spa_interface_call_res’
<--[g++]
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’ <--[g++]
163 | return spa_api_method_r(int, -ENOTSUP,
| ^~~~~~~~~~~~~~~~
2025-04-25 13:47:22 still trying to lock /cswrap_cap_file_lockcswrap: warning:
/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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
2025-04-25 13:47:22 still trying to lock /cswrap_cap_file_lockcswrap: warning:
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
173 | return spa_api_method_r(int, -ENOTSUP,
| ^~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h2025-04-25 13:47:22 still trying to lock /cswrap_cap_file_lock:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic]
<--[g++]
207 | ({ \
| ^
2025-04-25 13:47:22 still trying to lock /cswrap_cap_file_lock/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’[ 81%] Building CXX object src/CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/cscppc/g++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIREDMABUF_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIREDMABUF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecord_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecord_autogen/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtGui -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/ffmpeg -isystem /usr/include/libdrm -isystem /usr/include/qt6/QtGui/6.9.0 -isystem /usr/include/qt6/QtGui/6.9.0/QtGui -isystem /usr/include/qt6/QtCore/6.9.0 -isystem /usr/include/qt6/QtCore/6.9.0/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -I/usr/include -MD -MT src/CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o -MF CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o.d -o CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o -c /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libwebpencoder.cpp
cswrap: warning: <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
2025-04-25 13:47:29 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:21: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:23: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
from /usr/include/spa-0.2/spa/support/plugin.h:15, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:20, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/dmabufhandler.h:11, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder_p.h:15, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libvpxvp9encoder_p.h:10, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libvpxvp9encoder.cpp:10: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h: In function ‘void spa_list_init(spa_list*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h: In function ‘const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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: <--[g++]
/usr/include/pipewire-0.3/pipewire/array.h: In function ‘int pw_array_ensure_size(pw_array*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
285 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro ‘SPA_ROUND_UP’ <--[g++]
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*, ...)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
In file included from /usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’/usr/include/spa-0.2/spa/utils/hook.h <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
:13, <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
cswrap: warning: cswrap: warning: cswrap: warning: cswrap: warning: cswrap: warning: 179 | return spa_api_method_r(int, -ENOTSUP, pw_client, (struct spa_interface*)object, update_properties, 0,
2025-04-25 13:47:39 still trying to lock /cswrap_cap_file_lock | ^~~~~~~~~~~~~~~~
2025-04-25 13:47:39 still trying to lock /cswrap_cap_file_lock/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’2025-04-25 13:47:39 still trying to lock /cswrap_cap_file_lock <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
284 | spa_interface_call_res(_i, struct type ##_methods, \
| ^~~~~~~~~~~~~~~~~~~~~~
2025-04-25 13:47:39 still trying to lock /cswrap_cap_file_lock/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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)’: <--[g++]
2025-04-25 13:47:39 still trying to lock /cswrap_cap_file_lock/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h: In function ‘void spa_json_init(spa_json*, const char*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
159 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] 281 | ({ \
| ^
cswrap: warning: 2025-04-25 13:47:46 still trying to lock /cswrap_cap_file_lock
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:21: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:23: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
from /usr/include/spa-0.2/spa/support/plugin.h:15, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:20, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/dmabufhandler.h:11, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder_p.h:15, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libwebpencoder_p.h:6, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libwebpencoder.cpp:10: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h: In function ‘void spa_list_init(spa_list*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h: In function ‘const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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: <--[g++]
/usr/include/pipewire-0.3/pipewire/array.h: In function ‘int pw_array_ensure_size(pw_array*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
285 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro ‘SPA_ROUND_UP’ <--[g++]
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*, ...)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
cswrap: warning: 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
cswrap: warning: | ^~~~~~~~~~~~~~~~~~~~~~
2025-04-25 13:47:57 still trying to lock /cswrap_cap_file_lockcswrap: warning:
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
284 | spa_interface_call_res(_i, struct type ##_methods, \
| ^~~~~~~~~~~~~~~~~~~~~~
2025-04-25 13:47:57 still trying to lock /cswrap_cap_file_lock/usr/include/spa-0.2/spa/support/loop.h
:377:16: note: in expansion of macro ‘spa_api_method_r’cswrap: warning: <--[g++]
377 | return spa_api_method_r(int, -ENOTSUP,
| ^~~~~~~~~~~~~~~~
2025-04-25 13:47:57 still trying to lock /cswrap_cap_file_lock
/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*)’:2025-04-25 13:47:57 still trying to lock /cswrap_cap_file_lock <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
384 | return spa_api_method_r(struct spa_source *, NULL,
| ^~~~~~~~~~~~~~~~
cswrap: warning: /usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
2025-04-25 13:47:57 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h: In function ‘void spa_json_init(spa_json*, const char*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
159 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
cswrap: warning: 2025-04-25 13:48:03 still trying to lock /cswrap_cap_file_lock
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:21: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:23: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
from /usr/include/spa-0.2/spa/support/plugin.h:15, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewireproduce_p.h:13, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewireproduce.cpp:7: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h: In function ‘void spa_list_init(spa_list*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h: In function ‘const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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: <--[g++]
/usr/include/pipewire-0.3/pipewire/array.h: In function ‘int pw_array_ensure_size(pw_array*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
285 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro ‘SPA_ROUND_UP’ <--[g++]
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*, ...)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
cswrap: warning: | ^~~~~~~~~~~~~~~~~~~~~~
cswrap: warning: 2025-04-25 13:48:13 still trying to lock /cswrap_cap_file_lockcswrap: warning:
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
284 | spa_interface_call_res(_i, struct type ##_methods, \
2025-04-25 13:48:13 still trying to lock /cswrap_cap_file_lock2025-04-25 13:48:13 still trying to lock /cswrap_cap_file_lock | ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’
<--[g++]
282 | return spa_api_method_r(int, -ENOTSUP,
| ^~~~~~~~~~~~~~~~
cswrap: warning: /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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h2025-04-25 13:48:13 still trying to lock /cswrap_cap_file_lock:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic]
<--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h: In function ‘void spa_json_init(spa_json*, const char*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
159 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
cswrap: warning: 281 | ({ \
| ^
2025-04-25 13:48:17 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewireproduce_p.h:14: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewireproduce_p.h:16: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
from /usr/include/spa-0.2/spa/support/plugin.h:15, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:20, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/dmabufhandler.h:11, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder_p.h:15, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libx264encoder_p.h:9, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libx264encoder.cpp:9: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h: In function ‘void spa_list_init(spa_list*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h: In function ‘const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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: <--[g++]
/usr/include/pipewire-0.3/pipewire/array.h: In function ‘int pw_array_ensure_size(pw_array*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
285 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro ‘SPA_ROUND_UP’ <--[g++]
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*, ...)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
189 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, eventfd_write, 0,
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/support/system.hcswrap: warning: cswrap: warning: cswrap: warning: : In function ‘int spa_system_eventfd_read(spa_system*, int, uint64_t*)’:2025-04-25 13:48:31 still trying to lock /cswrap_cap_file_lock <--[g++]
2025-04-25 13:48:31 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/utils/hook.h2025-04-25 13:48:31 still trying to lock /cswrap_cap_file_lock:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h: In function ‘void spa_json_init(spa_json*, const char*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
159 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
369 | code = SPA_CLAMP(iter->state & 0xff, 0u, SPA_N_ELEMENTS(reasons)-1);
| ^~~~~~~~~
/usr/include/spa-0.2/spa/utils/defs.hcswrap: warning: :153:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic]2025-04-25 13:48:37 still trying to lock /cswrap_cap_file_lock <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:21: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:23: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
from /usr/include/spa-0.2/spa/support/plugin.h:15, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:20, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/dmabufhandler.h:11, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder_p.h:15, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewirerecord.cpp:8: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h: In function ‘void spa_list_init(spa_list*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h: In function ‘const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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: <--[g++]
/usr/include/pipewire-0.3/pipewire/array.h: In function ‘int pw_array_ensure_size(pw_array*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
285 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro ‘SPA_ROUND_UP’ <--[g++]
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*, ...)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
174 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, timerfd_gettime, 0,
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/support/system.hcswrap: warning: cswrap: warning: : In function ‘int spa_system_timerfd_read(spa_system*, int, uint64_t*)’: <--[g++]
2025-04-25 13:48:48 still trying to lock /cswrap_cap_file_lock
2025-04-25 13:48:48 still trying to lock /cswrap_cap_file_lock/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h: In function ‘void spa_json_init(spa_json*, const char*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
196 | SPA_FLAG_UPDATE(iter->state, __ARRAY_FLAG, flag & __PREV_ARRAY_FLAG);
| ^~~~~~~~~~~~~~~
cswrap: warning: /usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
2025-04-25 13:48:54 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
159 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:21: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:23: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
from /usr/include/spa-0.2/spa/support/plugin.h:15, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:20, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/dmabufhandler.h:11, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder_p.h:15, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/gifencoder_p.h:6, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/gifencoder.cpp:10: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h: In function ‘void spa_list_init(spa_list*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h: In function ‘const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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: <--[g++]
/usr/include/pipewire-0.3/pipewire/array.h: In function ‘int pw_array_ensure_size(pw_array*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
285 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro ‘SPA_ROUND_UP’ <--[g++]
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*, ...)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
145 | return spa_api_method_fast_r(int, -ENOTSUP, spa_system, &object->iface, pollfd_mod, 0, pfd, fd, events, data);
| ^~~~~~~~~~~~~~~~~~~~~
cswrap: warning: /usr/include/spa-0.2/spa/utils/hook.h:214:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
2025-04-25 13:49:07 still trying to lock /cswrap_cap_file_lock 214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h: In function ‘void spa_json_init(spa_json*, const char*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’:cswrap: warning: <--[g++]
2025-04-25 13:49:13 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
159 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
| ^~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:21: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:23: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
from /usr/include/spa-0.2/spa/support/plugin.h:15, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:20, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/dmabufhandler.h:11, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder_p.h:15, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder.cpp:9: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h: In function ‘void spa_list_init(spa_list*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h: In function ‘const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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: <--[g++]
/usr/include/pipewire-0.3/pipewire/array.h: In function ‘int pw_array_ensure_size(pw_array*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
285 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro ‘SPA_ROUND_UP’ <--[g++]
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*, ...)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h: In function ‘void spa_json_init(spa_json*, const char*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
56 | #define SPA_JSON_ENTER(iter) ((struct spa_json) { (iter)->cur, (iter)->end, (iter), (iter)->state & 0xff0, 0 })
| ^
cswrap: warning: 2025-04-25 13:49:30 still trying to lock /cswrap_cap_file_lock
/usr/include/spa-0.2/spa/utils/json-core.h:60:16: note: in expansion of macro ‘SPA_JSON_ENTER’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
159 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ 251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:21: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:23: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder.cpp: In destructor ‘virtual Encoder::~Encoder()’: <--[g++]
/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder.cpp:76:22: warning: ‘int avcodec_close(AVCodecContext*)’ is deprecated [-Wdeprecated-declarations] <--[g++]
76 | avcodec_close(m_avCodecContext);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder_p.h:19: <--[g++]
/usr/include/ffmpeg/libavcodec/avcodec.h:2398:5: note: declared here <--[g++]
2398 | int avcodec_close(AVCodecContext *avctx);
| ^~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
from /usr/include/spa-0.2/spa/support/plugin.h:15, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:12, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:20, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/dmabufhandler.h:11, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/encoder_p.h:15, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libvpxencoder_p.h:9, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/libvpxencoder.cpp:9: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h: In function ‘void spa_list_init(spa_list*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/list.h:37:64: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
452 | hook->cb = SPA_CALLBACKS_INIT(funcs, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/support/plugin.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h: In function ‘const spa_dict_item* spa_dict_lookup_item(const spa_dict*, const char*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/dict.h:39:75: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:69:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:74:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:185:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:192:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:263:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
263 | ({ \
| ^
/usr/include/spa-0.2/spa/support/plugin.h:199:16: note: in expansion of macro ‘spa_api_func_r’ <--[g++]
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: <--[g++]
/usr/include/pipewire-0.3/pipewire/array.h: In function ‘int pw_array_ensure_size(pw_array*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:285:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
285 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/array.h:120:25: note: in expansion of macro ‘SPA_ROUND_UP’ <--[g++]
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*, ...)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/string.h:392:29: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:354:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:362:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:370:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:378:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:386:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:419:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:433:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:442:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:569:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:580:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/core.h:589:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:111:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:115:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:122:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:127:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:132:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:137:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:141:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:145:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:149:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:154:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:159:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:167:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:174:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:179:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:185:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:189:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:194:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:200:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/system.h:206:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:140:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:145:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:150:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:157:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:180:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:174:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
174 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:187:17: note: in expansion of macro ‘spa_callbacks_call_fast’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:282:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:289:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:294:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:298:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:303:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:309:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:314:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:371:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:377:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:384:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:390:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:396:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:402:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:408:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:415:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:423:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:275:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
275 | ({ \
| ^
/usr/include/spa-0.2/spa/support/loop.h:430:9: note: in expansion of macro ‘spa_api_method_v’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
238 | spa_callbacks_call(&(iface)->cb,method_type,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:277:9: note: in expansion of macro ‘spa_interface_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:165:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:172:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:179:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:186:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/client.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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, <--[g++]
from /usr/include/pipewire-0.3/pipewire/pipewire.h:16: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h: In function ‘void spa_json_init(spa_json*, const char*, size_t)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:50:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:56:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:63:99: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:70:82: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:153:41: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:91:81: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
91 | #define SPA_FLAG_UPDATE(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’ <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:159:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
159 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/json-core.h:369:24: note: in expansion of macro ‘SPA_CLAMP’ <--[g++]
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] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:9: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:20: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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] <--[g++]
153 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:148:33: note: in definition of macro ‘SPA_MIN’ <--[g++]
148 | __typeof__(a) _min_a = (a); \
| ^
/usr/include/spa-0.2/spa/utils/defs.h:163:17: note: in expansion of macro ‘SPA_MAX’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/json-core.h:414:37: warning: range expressions in switch statements are non-standard [-Wpedantic] <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/device.h:182:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:650:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:657:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:662:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:669:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:676:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:682:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:688:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:695:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:701:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:709:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:718:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:728:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:736:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:742:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:747:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:752:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:315:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
315 | ({ \
| ^
/usr/include/spa-0.2/spa/node/node.h:756:16: note: in expansion of macro ‘spa_api_method_fast_r’ <--[g++]
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] <--[g++]
214 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:254:9: note: in expansion of macro ‘spa_callbacks_call_fast_res’ <--[g++]
254 | spa_callbacks_call_fast_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:318:9: note: in expansion of macro ‘spa_interface_call_fast_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/factory.h:97:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:165:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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] <--[g++]
165 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:238:9: note: in expansion of macro ‘spa_callbacks_call’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/link.h:123:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/module.h:95:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:194:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:202:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:212:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:221:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/node.h:229:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:155:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:163:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/pipewire-0.3/pipewire/port.h:173:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:72:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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**)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:82:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:92:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h <--[g++]
281 | ({ \
[ 82%] Linking CXX shared library ../bin/libKPipeWireRecord.so
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/KPipeWireRecord.dir/link.txt --verbose=1
/usr/lib64/cscppc/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -DNDEBUG -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libKPipeWireRecord.so.6 -o ../bin/libKPipeWireRecord.so.6.3.4 CMakeFiles/KPipeWireRecord.dir/KPipeWireRecord_autogen/mocs_compilation.cpp.o CMakeFiles/KPipeWireRecord.dir/logging_record.cpp.o CMakeFiles/KPipeWireRecord.dir/logging_libav.cpp.o CMakeFiles/KPipeWireRecord.dir/pipewirebaseencodedstream.cpp.o CMakeFiles/KPipeWireRecord.dir/pipewireencodedstream.cpp.o CMakeFiles/KPipeWireRecord.dir/pipewirerecord.cpp.o CMakeFiles/KPipeWireRecord.dir/pipewireproduce.cpp.o CMakeFiles/KPipeWireRecord.dir/encoder.cpp.o CMakeFiles/KPipeWireRecord.dir/gifencoder.cpp.o CMakeFiles/KPipeWireRecord.dir/h264vaapiencoder.cpp.o CMakeFiles/KPipeWireRecord.dir/libx264encoder.cpp.o CMakeFiles/KPipeWireRecord.dir/libopenh264encoder.cpp.o CMakeFiles/KPipeWireRecord.dir/libvpxencoder.cpp.o CMakeFiles/KPipeWireRecord.dir/libvpxvp9encoder.cpp.o CMakeFiles/KPipeWireRecord.dir/libwebpencoder.cpp.o -Wl,-rpath,/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/bin: ../bin/libKPipeWireDmaBuf.so.6.3.4 /usr/lib64/libepoxy.so /usr/lib64/libdrm.so ../bin/libKPipeWire.so.6.3.4 /usr/lib64/libKF6CoreAddons.so.6.13.0 /usr/lib64/libavcodec.so /usr/lib64/libavutil.so /usr/lib64/libavformat.so /usr/lib64/libavfilter.so /usr/lib64/libgbm.so /usr/lib64/libswscale.so /usr/lib64/libQt6Gui.so.6.9.0 /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so /usr/lib64/libQt6Core.so.6.9.0 /usr/lib64/libxkbcommon.so
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/bin/cmake -E cmake_symlink_library ../bin/libKPipeWireRecord.so.6.3.4 ../bin/libKPipeWireRecord.so.6 ../bin/libKPipeWireRecord.so
gmake[2]: Leaving directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
[ 84%] Built target KPipeWireRecord
/usr/bin/gmake -f src/CMakeFiles/KPipeWireRecordDeclarative_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWireRecordDeclarative_autogen_timestamp_deps.dir/depend
gmake[2]: Entering directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4 /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/CMakeFiles/KPipeWireRecordDeclarative_autogen_timestamp_deps.dir/DependInfo.cmake "--color="
gmake[2]: Leaving directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
/usr/bin/gmake -f src/CMakeFiles/KPipeWireRecordDeclarative_autogen_timestamp_deps.dir/build.make src/CMakeFiles/KPipeWireRecordDeclarative_autogen_timestamp_deps.dir/build
gmake[2]: Entering directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
gmake[2]: Nothing to be done for 'src/CMakeFiles/KPipeWireRecordDeclarative_autogen_timestamp_deps.dir/build'.
gmake[2]: Leaving directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
[ 84%] Built target KPipeWireRecordDeclarative_autogen_timestamp_deps
/usr/bin/gmake -f src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/build.make src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/depend
gmake[2]: Entering directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4 /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/DependInfo.cmake "--color="
gmake[2]: Leaving directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
/usr/bin/gmake -f src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/build.make src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/build
gmake[2]: Entering directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
[ 85%] Automatic MOC for target KPipeWireRecordDeclarative
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/AutogenInfo.json release
AutoGen: Refreshing parse cache because it doesn't exist.
AutoMoc: Generating "SRC:/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/moc_predefs.h", because it doesn't exist.
/usr/lib64/cscppc/g++ -std=c++20 -dM -E -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src -I/usr/include/qt6/QtQml/6.9.0 -I/usr/include/qt6/QtQml/6.9.0/QtQml -I/usr/include/qt6/QtCore/6.9.0 -I/usr/include/qt6/QtCore/6.9.0/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/qt6/QtCore -I/usr/include/qt6 -I/usr/lib64/qt6/mkspecs/linux-g++ -I/usr/include/qt6/QtQml -I/usr/include/qt6/QtQmlIntegration -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtQuick -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtQmlMeta -I/usr/include/qt6/QtQmlModels -I/usr/include/qt6/QtQmlWorkerScript -I/usr/include/qt6/QtOpenGL -I/usr/include -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-redhat-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-redhat-linux/15/include -I/usr/local/include
AutoGen: Parsing "SRC:/src/kpipewirerecorddeclarativeplugin.h"
AutoGen: Parsing "SRC:/src/kpipewirerecorddeclarativeplugin.cpp"
AutoMoc: Generating "SRC:/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/include/moc_kpipewirerecorddeclarativeplugin.cpp", because it doesn't exist, from "SRC:/src/kpipewirerecorddeclarativeplugin.h"
/usr/lib64/qt6/libexec/moc -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER "-DTRANSLATION_DOMAIN=\"kpipewire6\"" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src -I/usr/include/qt6/QtQml/6.9.0 -I/usr/include/qt6/QtQml/6.9.0/QtQml -I/usr/include/qt6/QtCore/6.9.0 -I/usr/include/qt6/QtCore/6.9.0/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/qt6/QtCore -I/usr/include/qt6 -I/usr/lib64/qt6/mkspecs/linux-g++ -I/usr/include/qt6/QtQml -I/usr/include/qt6/QtQmlIntegration -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtQuick -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtQmlMeta -I/usr/include/qt6/QtQmlModels -I/usr/include/qt6/QtQmlWorkerScript -I/usr/include/qt6/QtOpenGL -I/usr/include -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-redhat-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-redhat-linux/15/include -I/usr/local/include --include /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/moc_predefs.h -Muri=org.kde.pipewire.record --output-json --output-dep-file -o /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/include/moc_kpipewirerecorddeclarativeplugin.cpp /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/kpipewirerecorddeclarativeplugin.h
AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/include/moc_kpipewirerecorddeclarativeplugin.cpp.d"
AutoMoc: Generating MOC compilation "SRC:/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp"
AutoMoc: Merging MOC dependencies into "SRC:/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/deps"
AutoGen: Writing the parse cache file "SRC:/redhat-linux-build/src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/ParseCache.txt"
AutoGen: Writing the settings file "SRC:/redhat-linux-build/src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/AutogenUsed.txt"
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/bin/cmake -E touch /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/timestamp
gmake[2]: Leaving directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
[ 85%] Built target KPipeWireRecordDeclarative_autogen
/usr/bin/gmake -f src/CMakeFiles/KPipeWireRecordDeclarative.dir/build.make src/CMakeFiles/KPipeWireRecordDeclarative.dir/depend
gmake[2]: Entering directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
[ 88%] Running AUTOMOC file extraction for target KPipeWireRecordDeclarative
[ 88%] Running rcc for resource qmake_org_kde_pipewire_record
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/qt6/libexec/rcc --output /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp --name qmake_org_kde_pipewire_record /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/.qt/rcc/qmake_org_kde_pipewire_record.qrc
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/qt6/libexec/cmake_automoc_parser --cmake-autogen-cache-file /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/ParseCache.txt --cmake-autogen-info-file /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/CMakeFiles/KPipeWireRecordDeclarative_autogen.dir/AutogenInfo.json --output-file-path /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/meta_types/KPipeWireRecordDeclarative_json_file_list.txt --timestamp-file-path /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/meta_types/KPipeWireRecordDeclarative_json_file_list.txt.timestamp --cmake-autogen-include-dir-path /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/include
[ 89%] Running moc --collect-json for target KPipeWireRecordDeclarative
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/qt6/libexec/moc -o /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/meta_types/qt6kpipewirerecorddeclarative_release_metatypes.json.gen --collect-json @/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/meta_types/KPipeWireRecordDeclarative_json_file_list.txt
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/meta_types/qt6kpipewirerecorddeclarative_release_metatypes.json.gen /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/meta_types/qt6kpipewirerecorddeclarative_release_metatypes.json
[ 90%] Generating meta_types/qt6kpipewirerecorddeclarative_release_metatypes.json
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/bin/cmake -E true
[ 92%] Automatic QML type registration for target KPipeWireRecordDeclarative
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/qt6/libexec/qmltyperegistrar --generate-qmltypes=/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/bin/org/kde/pipewire/record/KPipeWireRecordDeclarative.qmltypes --import-name=org.kde.pipewire.record --major-version=1 --minor-version=0 @/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/qmltypes/KPipeWireRecordDeclarative_foreign_types.txt -o /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/kpipewirerecorddeclarative_qmltyperegistrations.cpp /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/meta_types/qt6kpipewirerecorddeclarative_release_metatypes.json
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/bin/cmake -E make_directory /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/.qt/qmltypes
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/bin/cmake -E touch /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/.qt/qmltypes/KPipeWireRecordDeclarative.qmltypes
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4 /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/CMakeFiles/KPipeWireRecordDeclarative.dir/DependInfo.cmake "--color="
Dependencies file "src/KPipeWireRecordDeclarative_autogen/deps" is newer than depends file "/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/CMakeFiles/KPipeWireRecordDeclarative.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target KPipeWireRecordDeclarative
gmake[2]: Leaving directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
/usr/bin/gmake -f src/CMakeFiles/KPipeWireRecordDeclarative.dir/build.make src/CMakeFiles/KPipeWireRecordDeclarative.dir/build
gmake[2]: Entering directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
[ 93%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/cscppc/g++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/include -I/usr/include/qt6/QtQml/6.9.0 -I/usr/include/qt6/QtQml/6.9.0/QtQml -I/usr/include/qt6/QtCore/6.9.0 -I/usr/include/qt6/QtCore/6.9.0/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtQmlMeta -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtQmlWorkerScript -isystem /usr/include/qt6/QtOpenGL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o -MF CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o -c /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp
[ 94%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o
[ 96%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/cscppc/g++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/include -I/usr/include/qt6/QtQml/6.9.0 -I/usr/include/qt6/QtQml/6.9.0/QtQml -I/usr/include/qt6/QtCore/6.9.0 -I/usr/include/qt6/QtCore/6.9.0/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtQmlMeta -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtQmlWorkerScript -isystem /usr/include/qt6/QtOpenGL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o -MF CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o.d -o CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o -c /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/kpipewirerecorddeclarative_qmltyperegistrations.cpp
[ 97%] Building CXX object src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/cscppc/g++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/include -I/usr/include/qt6/QtQml/6.9.0 -I/usr/include/qt6/QtQml/6.9.0/QtQml -I/usr/include/qt6/QtCore/6.9.0 -I/usr/include/qt6/QtCore/6.9.0/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtQmlMeta -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtQmlWorkerScript -isystem /usr/include/qt6/QtOpenGL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o -MF CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o.d -o CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o -c /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/lib64/cscppc/g++ -DEGL_NO_PLATFORM_SPECIFIC_TYPES -DEGL_NO_X11 -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60900 -DKPIPEWIRE_DEPRECATED_WARNINGS_SINCE=0x0 -DKPIPEWIRE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DKPipeWireRecordDeclarative_EXPORTS -DMESA_EGL_NO_X11_HEADERS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60801 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kpipewire6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src -I/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src/KPipeWireRecordDeclarative_autogen/include -I/usr/include/qt6/QtQml/6.9.0 -I/usr/include/qt6/QtQml/6.9.0/QtQml -I/usr/include/qt6/QtCore/6.9.0 -I/usr/include/qt6/QtCore/6.9.0/QtCore -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtQmlMeta -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtQmlWorkerScript -isystem /usr/include/qt6/QtOpenGL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-gnu-statement-expression-from-macro-expansion -Wno-zero-as-null-pointer-constant -Wno-c99-extensions -Wno-cast-align -MD -MT src/CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o -MF CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o.d -o CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o -c /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/kpipewirerecorddeclarativeplugin.cpp
[ 98%] Linking CXX shared module ../bin/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so
cd /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/KPipeWireRecordDeclarative.dir/link.txt --verbose=1
| ^
/usr/include/spa-0.2/spa/support/thread.h:102:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:281:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
281 | ({ \
| ^
/usr/include/spa-0.2/spa/support/thread.h:112:16: note: in expansion of macro ‘spa_api_method_r’ <--[g++]
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] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/utils/hook.h:251:9: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
251 | spa_callbacks_call_res(&(iface)->cb,method_type,res,method,vers,##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/spa-0.2/spa/utils/hook.h:284:9: note: in expansion of macro ‘spa_interface_call_res’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:345:20: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:147:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
147 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/iter.h:361:35: note: in expansion of macro ‘SPA_MIN’ <--[g++]
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, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:21: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h: In function ‘void spa_pod_parser_init(spa_pod_parser*, const void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:44:100: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/format-utils.h:32:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:133:86: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
72 | builder->callbacks = SPA_CALLBACKS_INIT(callbacks, data);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/spa-0.2/spa/param/video/raw-utils.h:18, <--[g++]
from /usr/include/spa-0.2/spa/param/video/format-utils.h:14, <--[g++]
from /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/src/pipewiresourcestream.h:23: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h: In function ‘void spa_pod_builder_init(spa_pod_builder*, void*, uint32_t)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:60:114: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/hook.h:207:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
207 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:140:25: note: in expansion of macro ‘spa_callbacks_call_res’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:83:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:205:17: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:214:68: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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] <--[g++]
83 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/builder.h:227:9: note: in expansion of macro ‘SPA_FLAG_CLEAR’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:231:110: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:239:96: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:247:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:255:98: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:263:102: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:271:103: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:279:87: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:309:84: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:329:151: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:338:90: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:100:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/utils/defs.h:118:72: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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’ <--[g++]
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] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:411:89: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:423:136: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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)’: <--[g++]
/usr/include/spa-0.2/spa/pod/builder.h:448:80: warning: ISO C++ forbids compound-literals [-Wpedantic] <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/raw-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/dsp-utils.h:41:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/h264-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
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*)’: <--[g++]
/usr/include/spa-0.2/spa/pod/parser.h:561:1: warning: ISO C++ forbids braced-groups within expressions [-Wpedantic] <--[g++]
561 | ({ \
| ^
/usr/include/spa-0.2/spa/param/video/mjpg-utils.h:33:16: note: in expansion of macro ‘spa_pod_parse_object’ <--[g++]
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] <--[g++]
539 | ({ \
| ^
/usr/include/spa-0.2/spa/pod/parser.h:564:9: note: in expansion of macro ‘spa_pod_parser_get_object’ <--[g++]
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’ <--[g++]
33 | return spa_pod_parse_object(format,
| ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
+ RPM_EC=0
++ jobs -p
+ exit 0
/usr/lib64/cscppc/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -DNDEBUG -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -o ../bin/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so CMakeFiles/KPipeWireRecordDeclarative.dir/KPipeWireRecordDeclarative_autogen/mocs_compilation.cpp.o CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarative_qmltyperegistrations.cpp.o CMakeFiles/KPipeWireRecordDeclarative.dir/.qt/rcc/qrc_qmake_org_kde_pipewire_record.cpp.o CMakeFiles/KPipeWireRecordDeclarative.dir/kpipewirerecorddeclarativeplugin.cpp.o -Wl,-rpath,/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/bin: ../bin/libKPipeWireRecord.so.6.3.4 ../bin/libKPipeWire.so.6.3.4 /usr/lib64/libQt6Quick.so.6.9.0 /usr/lib64/libQt6QmlMeta.so.6.9.0 /usr/lib64/libQt6QmlWorkerScript.so.6.9.0 /usr/lib64/libQt6QmlModels.so.6.9.0 /usr/lib64/libQt6Qml.so.6.9.0 /usr/lib64/libQt6Network.so.6.9.0 /usr/lib64/libQt6OpenGL.so.6.9.0 /usr/lib64/libQt6Gui.so.6.9.0 /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so /usr/lib64/libQt6Core.so.6.9.0 -Wl,-rpath-link,/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/bin
gmake[2]: Leaving directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
[100%] Built target KPipeWireRecordDeclarative
gmake[1]: Leaving directory '/builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build'
/usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/redhat-linux-build/CMakeFiles 0
Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/kpipewire.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run
>>> 2025-04-25 13:50:10 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck"
>>> 2025-04-25 13:50:11 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/kpipewire.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\""
INFO: mock.py version 6.1 starting (python version = 3.9.21, NVR = mock-6.1-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/kpipewire.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.1
INFO: Mock Version: 6.1
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/kpipewire.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/kpipewire.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1743552000
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xARw4M
+ umask 022
+ cd /builddir/build/BUILD/kpipewire-6.3.4-build
+ '[' /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT '!=' / ']'
+ rm -rf /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT
++ dirname /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT
+ mkdir -p /builddir/build/BUILD/kpipewire-6.3.4-build
+ mkdir /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd kpipewire-6.3.4
+ DESTDIR=/builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT
+ /usr/bin/cmake --install redhat-linux-build
-- Install configuration: "release"
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/qlogging-categories6/kpipewire.categories
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/qlogging-categories6/kpipewirerecord.categories
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/PipeWireSourceStream
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/PipeWireSourceItem
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/pipewiresourcestream.h
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/pipewiresourceitem.h
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/kpipewire_export.h
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/DmaBufHandler
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/dmabufhandler.h
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/kpipewiredmabuf_export.h
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/PipeWireRecord
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/PipeWireEncodedStream
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/PipeWireBaseEncodedStream
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/pipewirerecord.h
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/pipewireencodedstream.h
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/pipewirebaseencodedstream.h
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/include/KPipeWire/kpipewire_version.h
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWire.so.6.3.4
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWire.so.6
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWire.so
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWireRecord.so.6.3.4
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWireRecord.so.6
-- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWireRecord.so.6.3.4" to ""
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWireRecord.so
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWireDmaBuf.so.6.3.4
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWireDmaBuf.so.6
-- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWireDmaBuf.so.6.3.4" to ""
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/libKPipeWireDmaBuf.so
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/cmake/KPipeWire/KPipeWireTargets.cmake
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/cmake/KPipeWire/KPipeWireTargets-release.cmake
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/cmake/KPipeWire/KPipeWireConfig.cmake
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/cmake/KPipeWire/KPipeWireConfigVersion.cmake
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/libKPipeWireDeclarative.so
-- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/libKPipeWireDeclarative.so" to "$ORIGIN/../../../..//usr/lib64"
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/qmldir
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/KPipeWireDeclarative.qmltypes
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/kde-qmlmodule.version
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so
-- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so" to "$ORIGIN/../../../../..//usr/lib64"
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/record/qmldir
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/record/KPipeWireRecordDeclarative.qmltypes
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/record/kde-qmlmodule.version
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so
-- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so" to "$ORIGIN/../../../../..//usr/lib64"
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/monitor/qmldir
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/monitor/KPipeWireMonitorDeclarative.qmltypes
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/lib64/qt6/qml/org/kde/pipewire/monitor/kde-qmlmodule.version
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ar
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ar/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ar/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ast
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ast/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ast/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/bg
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/bg/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/bg/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ca
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ca/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ca/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ca@valencia
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ca@valencia/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ca@valencia/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/cs
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/cs/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/cs/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/de
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/de/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/de/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/en_GB
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/en_GB/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/en_GB/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/eo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/eo/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/eo/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/es
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/es/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/es/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/eu
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/eu/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/eu/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/fi
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/fi/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/fi/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/fr
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/fr/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/fr/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/gl
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/gl/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/gl/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/he
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/he/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/he/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/hi
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/hi/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/hi/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/hu
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/hu/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/hu/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ia
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ia/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ia/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/id
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/id/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/id/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/is
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/is/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/is/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/it
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/it/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/it/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ja
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ja/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ja/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ka
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ka/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ka/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ko
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ko/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ko/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/lt
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/lt/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/lt/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/lv
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/lv/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/lv/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/nl
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/nl/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/nl/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/nn
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/nn/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/nn/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pa
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pa/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pa/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pl
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pl/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pl/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pt
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pt/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pt/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pt_BR
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pt_BR/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/pt_BR/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ro
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ro/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ro/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ru
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ru/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ru/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sa
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sa/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sa/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sk
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sk/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sk/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sl
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sl/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sl/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sv
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sv/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/sv/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ta
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ta/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/ta/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/tr
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/tr/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/tr/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/uk
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/uk/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/uk/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/zh_CN
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/zh_CN/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/zh_CN/LC_MESSAGES/kpipewire6.mo
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/zh_TW
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/zh_TW/LC_MESSAGES
-- Installing: /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/locale/zh_TW/LC_MESSAGES/kpipewire6.mo
find-debuginfo: starting
Extracting debug info from 6 files
DWARF-compressing 6 files
+ /usr/lib/rpm/find-lang.sh /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT kpipewire --with-qt --all-name
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 6.3.4-1.fc43 --unique-debug-suffix -6.3.4-1.fc43.x86_64 --unique-debug-src-base kpipewire-6.3.4-1.fc43.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4
sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/kpipewire-6.3.4-1.fc43.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo
+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT
Scanned 139 directories and 175 files,
processed 0 inodes,
0 modified (0 replaced + 0 rewritten),
0 unsupported format, 0 errors
Reading /builddir/build/BUILD/kpipewire-6.3.4-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: kpipewire-6.3.4-1.fc43.x86_64
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6iwIMs
+ umask 022
+ cd /builddir/build/BUILD/kpipewire-6.3.4-build
+ cd kpipewire-6.3.4
+ LICENSEDIR=/builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/licenses/kpipewire
+ export LC_ALL=C.UTF-8
+ LC_ALL=C.UTF-8
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/licenses/kpipewire
+ cp -pr /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/LICENSES/BSD-3-Clause.txt /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/licenses/kpipewire
+ cp -pr /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/LICENSES/CC0-1.0.txt /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/licenses/kpipewire
+ cp -pr /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/LICENSES/LGPL-2.1-only.txt /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/licenses/kpipewire
+ cp -pr /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/LICENSES/LGPL-3.0-only.txt /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/licenses/kpipewire
+ cp -pr /builddir/build/BUILD/kpipewire-6.3.4-build/kpipewire-6.3.4/LICENSES/LicenseRef-KDE-Accepted-LGPL.txt /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT/usr/share/licenses/kpipewire
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: kpipewire = 6.3.4-1.fc43 kpipewire(x86-64) = 6.3.4-1.fc43 libKPipeWire.so.6()(64bit) libKPipeWireDeclarative.so()(64bit) libKPipeWireDmaBuf.so.6()(64bit) libKPipeWireMonitorDeclarative.so()(64bit) libKPipeWireRecord.so.6()(64bit) libKPipeWireRecordDeclarative.so()(64bit) qt6qml(org.kde.pipewire) qt6qml(org.kde.pipewire.monitor) qt6qml(org.kde.pipewire.record)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libKF6CoreAddons.so.6()(64bit) libKF6I18n.so.6()(64bit) libKPipeWire.so.6()(64bit) libKPipeWireDmaBuf.so.6()(64bit) libKPipeWireRecord.so.6()(64bit) libQt6Core.so.6()(64bit) libQt6Core.so.6(Qt_6)(64bit) libQt6Core.so.6(Qt_6.9)(64bit) libQt6Gui.so.6()(64bit) libQt6Gui.so.6(Qt_6)(64bit) libQt6OpenGL.so.6()(64bit) libQt6OpenGL.so.6(Qt_6)(64bit) libQt6Qml.so.6()(64bit) libQt6Qml.so.6(Qt_6)(64bit) libQt6Quick.so.6()(64bit) libQt6Quick.so.6(Qt_6)(64bit) libavcodec.so.61()(64bit) libavcodec.so.61(LIBAVCODEC_61)(64bit) libavfilter.so.10()(64bit) libavfilter.so.10(LIBAVFILTER_10)(64bit) libavformat.so.61()(64bit) libavformat.so.61(LIBAVFORMAT_61)(64bit) libavutil.so.59()(64bit) libavutil.so.59(LIBAVUTIL_59)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libdrm.so.2()(64bit) libepoxy.so.0()(64bit) libgbm.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpipewire-0.3.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libva-drm.so.2()(64bit) libva.so.2()(64bit) rtld(GNU_HASH)
Processing files: kpipewire-devel-6.3.4-1.fc43.x86_64
Provides: cmake(KPipeWire) = 6.3.4 cmake(kpipewire) = 6.3.4 kpipewire-devel = 6.3.4-1.fc43 kpipewire-devel(x86-64) = 6.3.4-1.fc43
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: cmake-filesystem(x86-64) libKPipeWire.so.6()(64bit) libKPipeWireDmaBuf.so.6()(64bit) libKPipeWireRecord.so.6()(64bit)
Obsoletes: kpipewire-devel <= 1:5.2.0
Processing files: kpipewire-debugsource-6.3.4-1.fc43.x86_64
Provides: kpipewire-debugsource = 6.3.4-1.fc43 kpipewire-debugsource(x86-64) = 6.3.4-1.fc43
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: kpipewire-debuginfo-6.3.4-1.fc43.x86_64
Provides: debuginfo(build-id) = 098926d5dc3a81f7b2eea1b7c9a94ff79c30e39a debuginfo(build-id) = 1df860618f3ee23ee019cac13eaf404c22dfce47 debuginfo(build-id) = 6154aab1153535a16165832c8be70c513955a425 debuginfo(build-id) = 8bb4190f84cd43d55221ab63489b9d2d69fe0132 debuginfo(build-id) = c66f3746a73e27e2e8d4636c286f4ce4154be434 debuginfo(build-id) = e2d02ed16192a9f686f6f94527ae14a1877f0f62 kpipewire-debuginfo = 6.3.4-1.fc43 kpipewire-debuginfo(x86-64) = 6.3.4-1.fc43 libKPipeWire.so.6.3.4-6.3.4-1.fc43.x86_64.debug()(64bit) libKPipeWireDeclarative.so-6.3.4-1.fc43.x86_64.debug()(64bit) libKPipeWireDmaBuf.so.6.3.4-6.3.4-1.fc43.x86_64.debug()(64bit) libKPipeWireMonitorDeclarative.so-6.3.4-1.fc43.x86_64.debug()(64bit) libKPipeWireRecord.so.6.3.4-6.3.4-1.fc43.x86_64.debug()(64bit) libKPipeWireRecordDeclarative.so-6.3.4-1.fc43.x86_64.debug()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: kpipewire-debugsource(x86-64) = 6.3.4-1.fc43
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/kpipewire-6.3.4-build/BUILDROOT
Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/kpipewire.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run
>>> 2025-04-25 13:50:15 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*"
Looking for shell scripts... done
>>> 2025-04-25 13:50:16 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log"
>>> 2025-04-25 13:50:18 '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt' '/builddir/gcc-results'' | tar -xC '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/raw-results'
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
>>> 2025-04-25 13:50:20 cat '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/uni-results/cswrap-capture.js'
>>> 2025-04-25 13:50:20 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/uni-results/clippy-capture.err
>>> 2025-04-25 13:50:20 cd /tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/uni-results/shellcheck-capture.json
>>> 2025-04-25 13:50:20 csgrep --mode=json '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/uni-results/unicontrol-capture.js'
>>> 2025-04-25 13:50:20 csgrep --mode=json --remove-duplicates --file-glob "/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/raw-results/builddir/gcc-results/*.sarif" > "/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/uni-results/gcc-results.json"
scan.ini: time-finished = 2025-04-25 13:50:20
scan.ini: exit-code = 0
>>> 2025-04-25 13:50:20 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/scan.ini' '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/uni-results'/* > '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/scan-results-all.js'
>>> 2025-04-25 13:50:20 '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/scan-results-all.js' >'/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/scan-results-all.js.tmp'
>>> 2025-04-25 13:50:21 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean"
>>> 2025-04-25 13:50:25 cat '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | sed -r 's|(/builddir/build/BUILD/)[^/]+-build/|\1|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\.c$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | csdiff --json-output --show-internal "/usr/share/csmock/known-false-positives.js" - | cssort --key=path > '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/scan-results.js'
>>> 2025-04-25 13:50:25 cat '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/scan-results.js' - | cssort > '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/suppressed-results.js'
>>> 2025-04-25 13:50:25 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/suppressed-results.js' > '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/suppressed-results.err'
>>> 2025-04-25 13:50:25 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/suppressed-results.js' | cshtml - > '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/suppressed-results.html'
>>> 2025-04-25 13:50:25 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/suppressed-results.js' | tee '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/debug/suppressed-results-summary.txt'
1 COMPILER_WARNING warning[-Wdeprecated-declarations]
7 COMPILER_WARNING warning[-Wmissing-field-initializers]
>>> 2025-04-25 13:50:25 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/scan-results.js' > '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/scan-results.err'
>>> 2025-04-25 13:50:25 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/scan-results.js' | cshtml - > '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/scan-results.html'
>>> 2025-04-25 13:50:25 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/scan-results.js' | tee '/tmp/csmockv6owk23s/kpipewire-6.3.4-1.fc42/scan-results-summary.txt'
1 COMPILER_WARNING warning[-Wdeprecated-declarations]
7 COMPILER_WARNING warning[-Wmissing-field-initializers]
<<< 2025-04-25 13:50:25 csmock exit code: 0
Wrote: /tmp/tmpqat_uppw/kpipewire-6.3.4-1.fc42.tar.xz