Log
[1m===> Building for pipewire-0.3.31[0m
[ 0% 6/422] cc -Isrc/daemon/pipewire-pulse.p -Isrc/daemon -I../src/daemon -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -DG_LOG_DOMAIN=g_log_domain_pipewire -MD -MQ src/daemon/pipewire-pulse.p/pipewire.c.o -MF src/daemon/pipewire-pulse.p/pipewire.c.o.d -o src/daemon/pipewire-pulse.p/pipewire.c.o -c ../src/daemon/pipewire.c
[ 0% 7/422] cc -Isrc/daemon/pipewire.p -Isrc/daemon -I../src/daemon -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -DG_LOG_DOMAIN=g_log_domain_pipewire -MD -MQ src/daemon/pipewire.p/pipewire.c.o -MF src/daemon/pipewire.p/pipewire.c.o.d -o src/daemon/pipewire.p/pipewire.c.o -c ../src/daemon/pipewire.c
[ 0% 8/422] cc -Isrc/tools/pw-mididump.p -Isrc/tools -I../src/tools -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ src/tools/pw-mididump.p/pw-mididump.c.o -MF src/tools/pw-mididump.p/pw-mididump.c.o.d -o src/tools/pw-mididump.p/pw-mididump.c.o -c ../src/tools/pw-mididump.c
[ 0% 9/422] cc -Isrc/tools/pw-dot.p -Isrc/tools -I../src/tools -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ src/tools/pw-dot.p/pw-dot.c.o -MF src/tools/pw-dot.p/pw-dot.c.o.d -o src/tools/pw-dot.p/pw-dot.c.o -c ../src/tools/pw-dot.c
[ 1% 10/422] cc -Isrc/tools/pw-mididump.p -Isrc/tools -I../src/tools -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ src/tools/pw-mididump.p/midifile.c.o -MF src/tools/pw-mididump.p/midifile.c.o.d -o src/tools/pw-mididump.p/midifile.c.o -c ../src/tools/midifile.c
[ 1% 11/422] cc -Isrc/tools/pw-profiler.p -Isrc/tools -I../src/tools -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ src/tools/pw-profiler.p/pw-profiler.c.o -MF src/tools/pw-profiler.p/pw-profiler.c.o.d -o src/tools/pw-profiler.p/pw-profiler.c.o -c ../src/tools/pw-profiler.c
[ 1% 12/422] cc -Isrc/tools/pw-metadata.p -Isrc/tools -I../src/tools -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ src/tools/pw-metadata.p/pw-metadata.c.o -MF src/tools/pw-metadata.p/pw-metadata.c.o.d -o src/tools/pw-metadata.p/pw-metadata.c.o -c ../src/tools/pw-metadata.c
[ 1% 13/422] cc -Isrc/modules/libpipewire-module-client-device.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-client-device.so.p/module-client-device.c.o -MF src/modules/libpipewire-module-client-device.so.p/module-client-device.c.o.d -o src/modules/libpipewire-module-client-device.so.p/module-client-device.c.o -c ../src/modules/module-client-device.c
[ 2% 14/422] cc -Isrc/tools/pw-mon.p -Isrc/tools -I../src/tools -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ src/tools/pw-mon.p/pw-mon.c.o -MF src/tools/pw-mon.p/pw-mon.c.o.d -o src/tools/pw-mon.p/pw-mon.c.o -c ../src/tools/pw-mon.c
[ 2% 15/422] cc -Isrc/modules/libpipewire-module-client-device.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-client-device.so.p/module-client-device_proxy-device.c.o -MF src/modules/libpipewire-module-client-device.so.p/module-client-device_proxy-device.c.o.d -o src/modules/libpipewire-module-client-device.so.p/module-client-device_proxy-device.c.o -c ../src/modules/module-client-device/proxy-device.c
[ 2% 16/422] cc -Isrc/tools/pw-dump.p -Isrc/tools -I../src/tools -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ src/tools/pw-dump.p/pw-dump.c.o -MF src/tools/pw-dump.p/pw-dump.c.o.d -o src/tools/pw-dump.p/pw-dump.c.o -c ../src/tools/pw-dump.c
[ 2% 17/422] cc -Isrc/modules/libpipewire-module-portal.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-portal.so.p/module-portal.c.o -MF src/modules/libpipewire-module-portal.so.p/module-portal.c.o.d -o src/modules/libpipewire-module-portal.so.p/module-portal.c.o -c ../src/modules/module-portal.c
[ 3% 18/422] cc -Isrc/modules/libpipewire-module-client-device.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-client-device.so.p/module-client-device_resource-device.c.o -MF src/modules/libpipewire-module-client-device.so.p/module-client-device_resource-device.c.o.d -o src/modules/libpipewire-module-client-device.so.p/module-client-device_resource-device.c.o -c ../src/modules/module-client-device/resource-device.c
[ 3% 19/422] cc -Isrc/modules/libpipewire-module-protocol-native.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_portal-screencast.c.o -MF src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_portal-screencast.c.o.d -o src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_portal-screencast.c.o -c ../src/modules/module-protocol-native/portal-screencast.c
[ 3% 20/422] cc -Isrc/modules/libpipewire-module-protocol-native.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_local-socket.c.o -MF src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_local-socket.c.o.d -o src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_local-socket.c.o -c ../src/modules/module-protocol-native/local-socket.c
[ 3% 21/422] cc -Isrc/modules/libpipewire-module-link-factory.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-link-factory.so.p/module-link-factory.c.o -MF src/modules/libpipewire-module-link-factory.so.p/module-link-factory.c.o.d -o src/modules/libpipewire-module-link-factory.so.p/module-link-factory.c.o -c ../src/modules/module-link-factory.c
[ 4% 22/422] cc -Isrc/modules/libpipewire-module-protocol-native.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_connection.c.o -MF src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_connection.c.o.d -o src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_connection.c.o -c ../src/modules/module-protocol-native/connection.c
[ 4% 23/422] cc -Isrc/modules/libpipewire-module-protocol-native.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native.c.o -MF src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native.c.o.d -o src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native.c.o -c ../src/modules/module-protocol-native.c
../src/modules/module-protocol-native.c:423:10: warning: unused variable 'buffer' [-Wunused-variable]
uint8_t buffer[1024];
^
../src/modules/module-protocol-native.c:425:6: warning: unused variable 'i' [-Wunused-variable]
int i, res;
^
../src/modules/module-protocol-native.c:417:15: warning: unused variable 'ucred' [-Wunused-variable]
struct ucred ucred;
^
../src/modules/module-protocol-native.c:400:13: warning: unused function 'check_print' [-Wunused-function]
static bool check_print(const uint8_t *buffer, int len)
^
4 warnings generated.
[ 4% 24/422] cc -Isrc/modules/libpipewire-module-protocol-pulse.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-protocol-pulse.so.p/module-protocol-pulse.c.o -MF src/modules/libpipewire-module-protocol-pulse.so.p/module-protocol-pulse.c.o.d -o src/modules/libpipewire-module-protocol-pulse.so.p/module-protocol-pulse.c.o -c ../src/modules/module-protocol-pulse.c
[ 4% 25/422] cc -Isrc/modules/libpipewire-module-client-device.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-client-device.so.p/module-client-device_protocol-native.c.o -MF src/modules/libpipewire-module-client-device.so.p/module-client-device_protocol-native.c.o.d -o src/modules/libpipewire-module-client-device.so.p/module-client-device_protocol-native.c.o -c ../src/modules/module-client-device/protocol-native.c
[ 4% 26/422] cc -Ispa/plugins/alsa/acp/libacp.a.p -Ispa/plugins/alsa/acp -I../spa/plugins/alsa/acp -I. -I.. -Ispa/include -I../spa/include -I../include -I/usr/local/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/acp/libacp.a.p/compat.c.o -MF spa/plugins/alsa/acp/libacp.a.p/compat.c.o.d -o spa/plugins/alsa/acp/libacp.a.p/compat.c.o -c ../spa/plugins/alsa/acp/compat.c
In file included from ../spa/plugins/alsa/acp/compat.c:21:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:36:20: warning: redefinition of typedef 'pa_hash_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef unsigned (*pa_hash_func_t)(const void *p);
^
../spa/plugins/alsa/acp/hashmap.h:34:20: note: previous definition is here
typedef unsigned (*pa_hash_func_t)(const void *p);
^
In file included from ../spa/plugins/alsa/acp/compat.c:21:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:37:15: warning: redefinition of typedef 'pa_compare_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
../spa/plugins/alsa/acp/hashmap.h:35:15: note: previous definition is here
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
In file included from ../spa/plugins/alsa/acp/compat.c:21:
In file included from ../spa/plugins/alsa/acp/compat.h:599:
../spa/plugins/alsa/acp/channelmap.h:165:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 6:
^
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 6:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert 'break;' to avoid fall-through
case 6:
^
break;
../spa/plugins/alsa/acp/channelmap.h:168:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 5:
^
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 5:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert 'break;' to avoid fall-through
case 5:
^
break;
../spa/plugins/alsa/acp/channelmap.h:171:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 4:
^
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 4:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert 'break;' to avoid fall-through
case 4:
^
break;
../spa/plugins/alsa/acp/channelmap.h:175:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 2:
^
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 2:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert 'break;' to avoid fall-through
case 2:
^
break;
In file included from ../spa/plugins/alsa/acp/compat.c:23:
../spa/plugins/alsa/acp/alsa-mixer.h:39:32: warning: redefinition of typedef 'pa_alsa_profile' is a C11 feature [-Wtypedef-redefinition]
typedef struct pa_alsa_profile pa_alsa_profile;
^
../spa/plugins/alsa/acp/alsa-mixer.h:35:32: note: previous definition is here
typedef struct pa_alsa_profile pa_alsa_profile;
^
In file included from ../spa/plugins/alsa/acp/compat.c:23:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:85:
../spa/plugins/alsa/acp/card.h:33:24: warning: redefinition of typedef 'pa_card' is a C11 feature [-Wtypedef-redefinition]
typedef struct pa_card pa_card;
^
../spa/plugins/alsa/acp/device-port.h:33:24: note: previous definition is here
typedef struct pa_card pa_card;
^
../spa/plugins/alsa/acp/compat.c:53:18: warning: result of comparison of unsigned enum expression >= 0 is always true [-Wtautological-unsigned-enum-zero-compare]
int idx = (type >= 0 && type < PA_ELEMENTSOF(port_types)) ? type : 0;
~~~~ ^ ~
9 warnings generated.
[ 5% 27/422] cc -Isrc/tools/pw-cli.p -Isrc/tools -I../src/tools -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ src/tools/pw-cli.p/pw-cli.c.o -MF src/tools/pw-cli.p/pw-cli.c.o.d -o src/tools/pw-cli.p/pw-cli.c.o -c ../src/tools/pw-cli.c
[ 5% 28/422] cc -Ispa/plugins/alsa/acp/libacp.a.p -Ispa/plugins/alsa/acp -I../spa/plugins/alsa/acp -I. -I.. -Ispa/include -I../spa/include -I../include -I/usr/local/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/acp/libacp.a.p/alsa-util.c.o -MF spa/plugins/alsa/acp/libacp.a.p/alsa-util.c.o.d -o spa/plugins/alsa/acp/libacp.a.p/alsa-util.c.o -c ../spa/plugins/alsa/acp/alsa-util.c
In file included from ../spa/plugins/alsa/acp/alsa-util.c:26:
In file included from ../spa/plugins/alsa/acp/alsa-util.h:28:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:36:20: warning: redefinition of typedef 'pa_hash_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef unsigned (*pa_hash_func_t)(const void *p);
^
../spa/plugins/alsa/acp/hashmap.h:34:20: note: previous definition is here
typedef unsigned (*pa_hash_func_t)(const void *p);
^
In file included from ../spa/plugins/alsa/acp/alsa-util.c:26:
In file included from ../spa/plugins/alsa/acp/alsa-util.h:28:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:37:15: warning: redefinition of typedef 'pa_compare_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
../spa/plugins/alsa/acp/hashmap.h:35:15: note: previous definition is here
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
In file included from ../spa/plugins/alsa/acp/alsa-util.c:26:
In file included from ../spa/plugins/alsa/acp/alsa-util.h:28:
In file included from ../spa/plugins/alsa/acp/compat.h:599:
../spa/plugins/alsa/acp/channelmap.h:165:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 6:
^
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 6:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert 'break;' to avoid fall-through
case 6:
^
break;
../spa/plugins/alsa/acp/channelmap.h:168:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 5:
^
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 5:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert 'break;' to avoid fall-through
case 5:
^
break;
../spa/plugins/alsa/acp/channelmap.h:171:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 4:
^
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 4:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert 'break;' to avoid fall-through
case 4:
^
break;
../spa/plugins/alsa/acp/channelmap.h:175:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 2:
^
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 2:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert 'break;' to avoid fall-through
case 2:
^
break;
In file included from ../spa/plugins/alsa/acp/alsa-util.c:26:
In file included from ../spa/plugins/alsa/acp/alsa-util.h:30:
../spa/plugins/alsa/acp/alsa-mixer.h:39:32: warning: redefinition of typedef 'pa_alsa_profile' is a C11 feature [-Wtypedef-redefinition]
typedef struct pa_alsa_profile pa_alsa_profile;
^
../spa/plugins/alsa/acp/alsa-mixer.h:35:32: note: previous definition is here
typedef struct pa_alsa_profile pa_alsa_profile;
^
In file included from ../spa/plugins/alsa/acp/alsa-util.c:26:
In file included from ../spa/plugins/alsa/acp/alsa-util.h:30:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:85:
../spa/plugins/alsa/acp/card.h:33:24: warning: redefinition of typedef 'pa_card' is a C11 feature [-Wtypedef-redefinition]
typedef struct pa_card pa_card;
^
../spa/plugins/alsa/acp/device-port.h:33:24: note: previous definition is here
typedef struct pa_card pa_card;
^
8 warnings generated.
[ 5% 29/422] cc -Isrc/modules/libpipewire-module-protocol-native.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_v0_protocol-native.c.o -MF src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_v0_protocol-native.c.o.d -o src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_v0_protocol-native.c.o -c ../src/modules/module-protocol-native/v0/protocol-native.c
[ 5% 30/422] cc -Ispa/plugins/alsa/libspa-alsa.so.p -Ispa/plugins/alsa -I../spa/plugins/alsa -Ispa/include -I../spa/include -I. -I.. -I/usr/local/include -I/usr/local/include/libepoll-shim -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/libspa-alsa.so.p/alsa.c.o -MF spa/plugins/alsa/libspa-alsa.so.p/alsa.c.o.d -o spa/plugins/alsa/libspa-alsa.so.p/alsa.c.o -c ../spa/plugins/alsa/alsa.c
[ 6% 31/422] cc -Ispa/plugins/alsa/acp/libacp.a.p -Ispa/plugins/alsa/acp -I../spa/plugins/alsa/acp -I. -I.. -Ispa/include -I../spa/include -I../include -I/usr/local/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/acp/libacp.a.p/conf-parser.c.o -MF spa/plugins/alsa/acp/libacp.a.p/conf-parser.c.o.d -o spa/plugins/alsa/acp/libacp.a.p/conf-parser.c.o -c ../spa/plugins/alsa/acp/conf-parser.c
In file included from ../spa/plugins/alsa/acp/conf-parser.c:27:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:36:20: warning: redefinition of typedef 'pa_hash_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef unsigned (*pa_hash_func_t)(const void *p);
^
../spa/plugins/alsa/acp/hashmap.h:34:20: note: previous definition is here
typedef unsigned (*pa_hash_func_t)(const void *p);
^
In file included from ../spa/plugins/alsa/acp/conf-parser.c:27:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:37:15: warning: redefinition of typedef 'pa_compare_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
../spa/plugins/alsa/acp/hashmap.h:35:15: note: previous definition is here
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
In file included from ../spa/plugins/alsa/acp/conf-parser.c:27:
In file included from ../spa/plugins/alsa/acp/compat.h:599:
../spa/plugins/alsa/acp/channelmap.h:165:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 6:
^
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 6:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert 'break;' to avoid fall-through
case 6:
^
break;
../spa/plugins/alsa/acp/channelmap.h:168:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 5:
^
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 5:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert 'break;' to avoid fall-through
case 5:
^
break;
../spa/plugins/alsa/acp/channelmap.h:171:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 4:
^
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 4:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert 'break;' to avoid fall-through
case 4:
^
break;
../spa/plugins/alsa/acp/channelmap.h:175:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 2:
^
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 2:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert 'break;' to avoid fall-through
case 2:
^
break;
6 warnings generated.
[ 6% 32/422] cc -Ispa/plugins/alsa/acp/libacp.a.p -Ispa/plugins/alsa/acp -I../spa/plugins/alsa/acp -I. -I.. -Ispa/include -I../spa/include -I../include -I/usr/local/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/acp/libacp.a.p/acp.c.o -MF spa/plugins/alsa/acp/libacp.a.p/acp.c.o.d -o spa/plugins/alsa/acp/libacp.a.p/acp.c.o -c ../spa/plugins/alsa/acp/acp.c
In file included from ../spa/plugins/alsa/acp/acp.c:26:
../spa/plugins/alsa/acp/alsa-mixer.h:39:32: warning: redefinition of typedef 'pa_alsa_profile' is a C11 feature [-Wtypedef-redefinition]
typedef struct pa_alsa_profile pa_alsa_profile;
^
../spa/plugins/alsa/acp/alsa-mixer.h:35:32: note: previous definition is here
typedef struct pa_alsa_profile pa_alsa_profile;
^
In file included from ../spa/plugins/alsa/acp/acp.c:26:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:82:
In file included from ../spa/plugins/alsa/acp/device-port.h:31:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:36:20: warning: redefinition of typedef 'pa_hash_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef unsigned (*pa_hash_func_t)(const void *p);
^
../spa/plugins/alsa/acp/hashmap.h:34:20: note: previous definition is here
typedef unsigned (*pa_hash_func_t)(const void *p);
^
In file included from ../spa/plugins/alsa/acp/acp.c:26:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:82:
In file included from ../spa/plugins/alsa/acp/device-port.h:31:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:37:15: warning: redefinition of typedef 'pa_compare_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
../spa/plugins/alsa/acp/hashmap.h:35:15: note: previous definition is here
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
In file included from ../spa/plugins/alsa/acp/acp.c:26:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:82:
In file included from ../spa/plugins/alsa/acp/device-port.h:31:
In file included from ../spa/plugins/alsa/acp/compat.h:599:
../spa/plugins/alsa/acp/channelmap.h:165:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 6:
^
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 6:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert 'break;' to avoid fall-through
case 6:
^
break;
../spa/plugins/alsa/acp/channelmap.h:168:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 5:
^
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 5:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert 'break;' to avoid fall-through
case 5:
^
break;
../spa/plugins/alsa/acp/channelmap.h:171:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 4:
^
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 4:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert 'break;' to avoid fall-through
case 4:
^
break;
../spa/plugins/alsa/acp/channelmap.h:175:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 2:
^
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 2:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert 'break;' to avoid fall-through
case 2:
^
break;
In file included from ../spa/plugins/alsa/acp/acp.c:26:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:85:
../spa/plugins/alsa/acp/card.h:33:24: warning: redefinition of typedef 'pa_card' is a C11 feature [-Wtypedef-redefinition]
typedef struct pa_card pa_card;
^
../spa/plugins/alsa/acp/device-port.h:33:24: note: previous definition is here
typedef struct pa_card pa_card;
^
8 warnings generated.
[ 6% 33/422] cc -Ispa/plugins/alsa/libspa-alsa.so.p -Ispa/plugins/alsa -I../spa/plugins/alsa -Ispa/include -I../spa/include -I. -I.. -I/usr/local/include -I/usr/local/include/libepoll-shim -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/libspa-alsa.so.p/alsa-udev.c.o -MF spa/plugins/alsa/libspa-alsa.so.p/alsa-udev.c.o.d -o spa/plugins/alsa/libspa-alsa.so.p/alsa-udev.c.o -c ../spa/plugins/alsa/alsa-udev.c
../spa/plugins/alsa/alsa-udev.c:460:24: warning: field 'e' with variable sized type 'struct inotify_event' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
struct inotify_event e;
^
1 warning generated.
[ 6% 34/422] cc -Isrc/modules/libpipewire-module-protocol-native.so.p -Isrc/modules -I../src/modules -I. -I.. -Ispa/include -I../spa/include -Isrc -I../src -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_protocol-native.c.o -MF src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_protocol-native.c.o.d -o src/modules/libpipewire-module-protocol-native.so.p/module-protocol-native_protocol-native.c.o -c ../src/modules/module-protocol-native/protocol-native.c
[ 7% 35/422] cc -Ispa/plugins/alsa/acp/libacp.a.p -Ispa/plugins/alsa/acp -I../spa/plugins/alsa/acp -I. -I.. -Ispa/include -I../spa/include -I../include -I/usr/local/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/acp/libacp.a.p/alsa-ucm.c.o -MF spa/plugins/alsa/acp/libacp.a.p/alsa-ucm.c.o.d -o spa/plugins/alsa/acp/libacp.a.p/alsa-ucm.c.o -c ../spa/plugins/alsa/acp/alsa-ucm.c
In file included from ../spa/plugins/alsa/acp/alsa-ucm.c:34:
../spa/plugins/alsa/acp/alsa-mixer.h:39:32: warning: redefinition of typedef 'pa_alsa_profile' is a C11 feature [-Wtypedef-redefinition]
typedef struct pa_alsa_profile pa_alsa_profile;
^
../spa/plugins/alsa/acp/alsa-mixer.h:35:32: note: previous definition is here
typedef struct pa_alsa_profile pa_alsa_profile;
^
In file included from ../spa/plugins/alsa/acp/alsa-ucm.c:34:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:82:
In file included from ../spa/plugins/alsa/acp/device-port.h:31:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:36:20: warning: redefinition of typedef 'pa_hash_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef unsigned (*pa_hash_func_t)(const void *p);
^
../spa/plugins/alsa/acp/hashmap.h:34:20: note: previous definition is here
typedef unsigned (*pa_hash_func_t)(const void *p);
^
In file included from ../spa/plugins/alsa/acp/alsa-ucm.c:34:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:82:
In file included from ../spa/plugins/alsa/acp/device-port.h:31:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:37:15: warning: redefinition of typedef 'pa_compare_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
../spa/plugins/alsa/acp/hashmap.h:35:15: note: previous definition is here
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
In file included from ../spa/plugins/alsa/acp/alsa-ucm.c:34:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:82:
In file included from ../spa/plugins/alsa/acp/device-port.h:31:
In file included from ../spa/plugins/alsa/acp/compat.h:599:
../spa/plugins/alsa/acp/channelmap.h:165:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 6:
^
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 6:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert 'break;' to avoid fall-through
case 6:
^
break;
../spa/plugins/alsa/acp/channelmap.h:168:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 5:
^
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 5:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert 'break;' to avoid fall-through
case 5:
^
break;
../spa/plugins/alsa/acp/channelmap.h:171:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 4:
^
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 4:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert 'break;' to avoid fall-through
case 4:
^
break;
../spa/plugins/alsa/acp/channelmap.h:175:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 2:
^
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 2:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert 'break;' to avoid fall-through
case 2:
^
break;
In file included from ../spa/plugins/alsa/acp/alsa-ucm.c:34:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:85:
../spa/plugins/alsa/acp/card.h:33:24: warning: redefinition of typedef 'pa_card' is a C11 feature [-Wtypedef-redefinition]
typedef struct pa_card pa_card;
^
../spa/plugins/alsa/acp/device-port.h:33:24: note: previous definition is here
typedef struct pa_card pa_card;
^
8 warnings generated.
[ 7% 36/422] cc -Ispa/plugins/alsa/libspa-alsa.so.p -Ispa/plugins/alsa -I../spa/plugins/alsa -Ispa/include -I../spa/include -I. -I.. -I/usr/local/include -I/usr/local/include/libepoll-shim -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/libspa-alsa.so.p/alsa-pcm-device.c.o -MF spa/plugins/alsa/libspa-alsa.so.p/alsa-pcm-device.c.o.d -o spa/plugins/alsa/libspa-alsa.so.p/alsa-pcm-device.c.o -c ../spa/plugins/alsa/alsa-pcm-device.c
[ 7% 37/422] cc -Ispa/examples/adapter-control.p -Ispa/examples -I../spa/examples -I. -I.. -Ispa/include -I../spa/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ spa/examples/adapter-control.p/adapter-control.c.o -MF spa/examples/adapter-control.p/adapter-control.c.o.d -o spa/examples/adapter-control.p/adapter-control.c.o -c ../spa/examples/adapter-control.c
[ 7% 38/422] cc -o spa/examples/adapter-control spa/examples/adapter-control.p/adapter-control.c.o -L/usr/local/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -pie -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Wl,--start-group -ldl -pthread -lm -Wl,--end-group
[ 8% 39/422] cc -Ispa/plugins/alsa/acp/libacp.a.p -Ispa/plugins/alsa/acp -I../spa/plugins/alsa/acp -I. -I.. -Ispa/include -I../spa/include -I../include -I/usr/local/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/acp/libacp.a.p/alsa-mixer.c.o -MF spa/plugins/alsa/acp/libacp.a.p/alsa-mixer.c.o.d -o spa/plugins/alsa/acp/libacp.a.p/alsa-mixer.c.o -c ../spa/plugins/alsa/acp/alsa-mixer.c
In file included from ../spa/plugins/alsa/acp/alsa-mixer.c:29:
In file included from ../spa/plugins/alsa/acp/conf-parser.h:26:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:36:20: warning: redefinition of typedef 'pa_hash_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef unsigned (*pa_hash_func_t)(const void *p);
^
../spa/plugins/alsa/acp/hashmap.h:34:20: note: previous definition is here
typedef unsigned (*pa_hash_func_t)(const void *p);
^
In file included from ../spa/plugins/alsa/acp/alsa-mixer.c:29:
In file included from ../spa/plugins/alsa/acp/conf-parser.h:26:
In file included from ../spa/plugins/alsa/acp/compat.h:80:
../spa/plugins/alsa/acp/idxset.h:37:15: warning: redefinition of typedef 'pa_compare_func_t' is a C11 feature [-Wtypedef-redefinition]
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
../spa/plugins/alsa/acp/hashmap.h:35:15: note: previous definition is here
typedef int (*pa_compare_func_t)(const void *a, const void *b);
^
In file included from ../spa/plugins/alsa/acp/alsa-mixer.c:29:
In file included from ../spa/plugins/alsa/acp/conf-parser.h:26:
In file included from ../spa/plugins/alsa/acp/compat.h:599:
../spa/plugins/alsa/acp/channelmap.h:165:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 6:
^
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 6:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:165:17: note: insert 'break;' to avoid fall-through
case 6:
^
break;
../spa/plugins/alsa/acp/channelmap.h:168:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 5:
^
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 5:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:168:17: note: insert 'break;' to avoid fall-through
case 5:
^
break;
../spa/plugins/alsa/acp/channelmap.h:171:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 4:
^
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 4:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:171:17: note: insert 'break;' to avoid fall-through
case 4:
^
break;
../spa/plugins/alsa/acp/channelmap.h:175:17: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case 2:
^
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert '__attribute__((fallthrough));' to silence this warning
case 2:
^
__attribute__((fallthrough));
../spa/plugins/alsa/acp/channelmap.h:175:17: note: insert 'break;' to avoid fall-through
case 2:
^
break;
In file included from ../spa/plugins/alsa/acp/alsa-mixer.c:30:
../spa/plugins/alsa/acp/alsa-mixer.h:39:32: warning: redefinition of typedef 'pa_alsa_profile' is a C11 feature [-Wtypedef-redefinition]
typedef struct pa_alsa_profile pa_alsa_profile;
^
../spa/plugins/alsa/acp/alsa-mixer.h:35:32: note: previous definition is here
typedef struct pa_alsa_profile pa_alsa_profile;
^
In file included from ../spa/plugins/alsa/acp/alsa-mixer.c:30:
In file included from ../spa/plugins/alsa/acp/alsa-mixer.h:85:
../spa/plugins/alsa/acp/card.h:33:24: warning: redefinition of typedef 'pa_card' is a C11 feature [-Wtypedef-redefinition]
typedef struct pa_card pa_card;
^
../spa/plugins/alsa/acp/device-port.h:33:24: note: previous definition is here
typedef struct pa_card pa_card;
^
../spa/plugins/alsa/acp/alsa-mixer.c:865:6: warning: expression result unused [-Wunused-value]
VALGRIND_MAKE_MEM_DEFINED(&value, sizeof(value));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/valgrind/memcheck.h:127:37: note: expanded from macro 'VALGRIND_MAKE_MEM_DEFINED'
VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, \
^
../include/valgrind/valgrind.h:214:8: note: expanded from macro 'VALGRIND_DO_CLIENT_REQUEST_EXPR'
(_zzq_default)
^~~~~~~~~~~~
9 warnings generated.
[ 8% 40/422] cc -Ispa/plugins/alsa/libspa-alsa.so.p -Ispa/plugins/alsa -I../spa/plugins/alsa -Ispa/include -I../spa/include -I. -I.. -I/usr/local/include -I/usr/local/include/libepoll-shim -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/libspa-alsa.so.p/alsa-pcm-sink.c.o -MF spa/plugins/alsa/libspa-alsa.so.p/alsa-pcm-sink.c.o.d -o spa/plugins/alsa/libspa-alsa.so.p/alsa-pcm-sink.c.o -c ../spa/plugins/alsa/alsa-pcm-sink.c
[ 8% 41/422] rm -f spa/plugins/alsa/acp/libacp.a && llvm-ar csrD spa/plugins/alsa/acp/libacp.a spa/plugins/alsa/acp/libacp.a.p/acp.c.o spa/plugins/alsa/acp/libacp.a.p/compat.c.o spa/plugins/alsa/acp/libacp.a.p/alsa-mixer.c.o spa/plugins/alsa/acp/libacp.a.p/alsa-ucm.c.o spa/plugins/alsa/acp/libacp.a.p/alsa-util.c.o spa/plugins/alsa/acp/libacp.a.p/conf-parser.c.o
[ 8% 42/422] cc -Ispa/plugins/alsa/libspa-alsa.so.p -Ispa/plugins/alsa -I../spa/plugins/alsa -Ispa/include -I../spa/include -I. -I.. -I/usr/local/include -I/usr/local/include/libepoll-shim -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/libspa-alsa.so.p/alsa-acp-device.c.o -MF spa/plugins/alsa/libspa-alsa.so.p/alsa-acp-device.c.o.d -o spa/plugins/alsa/libspa-alsa.so.p/alsa-acp-device.c.o -c ../spa/plugins/alsa/alsa-acp-device.c
[ 9% 43/422] cc -Isrc/pipewire/libpipewire-0.3.so.0.331.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -I../include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.331.0.p/conf.c.o -MF src/pipewire/libpipewire-0.3.so.0.331.0.p/conf.c.o.d -o src/pipewire/libpipewire-0.3.so.0.331.0.p/conf.c.o -c ../src/pipewire/conf.c
FAILED: src/pipewire/libpipewire-0.3.so.0.331.0.p/conf.c.o
cc -Isrc/pipewire/libpipewire-0.3.so.0.331.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -I../include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.331.0.p/conf.c.o -MF src/pipewire/libpipewire-0.3.so.0.331.0.p/conf.c.o.d -o src/pipewire/libpipewire-0.3.so.0.331.0.p/conf.c.o -c ../src/pipewire/conf.c
In file included from ../src/pipewire/conf.c:44:
../spa/include/spa/utils/string.h:130:6: warning: implicitly declaring library function 'strtoull' with type 'unsigned long long (const char *, char **, int)' [-Wimplicit-function-declaration]
v = strtoull(str, &endptr, base);
^
../spa/include/spa/utils/string.h:130:6: note: include the header or explicitly provide a declaration for 'strtoull'
../spa/include/spa/utils/string.h:158:6: warning: implicitly declaring library function 'strtoll' with type 'long long (const char *, char **, int)' [-Wimplicit-function-declaration]
v = strtoll(str, &endptr, base);
^
../spa/include/spa/utils/string.h:158:6: note: include the header or explicitly provide a declaration for 'strtoll'
../spa/include/spa/utils/string.h:217:6: warning: implicitly declaring library function 'vsnprintf' with type 'int (char *, unsigned int, const char *, __builtin_va_list)' [-Wimplicit-function-declaration]
r = vsnprintf(buffer, size, format, args);
^
../spa/include/spa/utils/string.h:217:6: note: include the header or explicitly provide a declaration for 'vsnprintf'
../src/pipewire/conf.c:56:9: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned int, const char *, ...)' [-Wimplicit-function-declaration]
len = snprintf(p, size, "%s%s", i == 0 ? "" : "/", paths[i]);
^
../src/pipewire/conf.c:56:9: note: include the header or explicitly provide a declaration for 'snprintf'
../src/pipewire/conf.c:100:7: warning: implicit declaration of function 'getpwuid_r' is invalid in C99 [-Wimplicit-function-declaration]
if (getpwuid_r(getuid(), &pwd, buffer, sizeof(buffer), &result) == 0)
^
../src/pipewire/conf.c:183:7: warning: implicit declaration of function 'getpwuid_r' is invalid in C99 [-Wimplicit-function-declaration]
if (getpwuid_r(getuid(), &pwd, buffer, sizeof(buffer), &result) == 0)
^
../src/pipewire/conf.c:193:24: error: use of undeclared identifier 'O_CLOEXEC'
if ((res = open(path, O_CLOEXEC | O_DIRECTORY | O_PATH)) < 0) {
^
../src/pipewire/conf.c:193:36: error: use of undeclared identifier 'O_DIRECTORY'
if ((res = open(path, O_CLOEXEC | O_DIRECTORY | O_PATH)) < 0) {
^
../src/pipewire/conf.c:211:13: warning: implicitly declaring library function 'alloca' with type 'void *(unsigned int)' [-Wimplicit-function-declaration]
tmp_name = alloca(strlen(name)+5);
^
../src/pipewire/conf.c:211:13: note: include the header or explicitly provide a declaration for 'alloca'
../src/pipewire/conf.c:213:12: warning: implicit declaration of function 'openat' is invalid in C99 [-Wimplicit-function-declaration]
if ((fd = openat(sfd, tmp_name, O_CLOEXEC | O_CREAT | O_WRONLY | O_TRUNC, 0600)) < 0) {
^
../src/pipewire/conf.c:213:35: error: use of undeclared identifier 'O_CLOEXEC'
if ((fd = openat(sfd, tmp_name, O_CLOEXEC | O_CREAT | O_WRONLY | O_TRUNC, 0600)) < 0) {
^
../src/pipewire/conf.c:225:6: warning: implicit declaration of function 'renameat' is invalid in C99 [-Wimplicit-function-declaration]
if (renameat(sfd, tmp_name, sfd, name) < 0) {
^
../src/pipewire/conf.c:252:24: error: use of undeclared identifier 'O_CLOEXEC'
if ((fd = open(path, O_CLOEXEC | O_RDONLY)) < 0) {
^
../src/pipewire/conf.c:481:9: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
cmd = spa_aprintf("%s %s", key, args ? args : "");
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/conf.c:562:6: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration]
s = strdup(str);
^
../src/pipewire/conf.c:562:6: note: include the header or explicitly provide a declaration for 'strdup'
11 warnings and 4 errors generated.
[ 9% 43/422] cc -Isrc/pipewire/libpipewire-0.3.so.0.331.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -I../include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-client.c.o -MF src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-client.c.o.d -o src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-client.c.o -c ../src/pipewire/impl-client.c
FAILED: src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-client.c.o
cc -Isrc/pipewire/libpipewire-0.3.so.0.331.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -I../include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-client.c.o -MF src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-client.c.o.d -o src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-client.c.o -c ../src/pipewire/impl-client.c
In file included from ../src/pipewire/impl-client.c:28:
../spa/include/spa/utils/string.h:130:6: warning: implicitly declaring library function 'strtoull' with type 'unsigned long long (const char *, char **, int)' [-Wimplicit-function-declaration]
v = strtoull(str, &endptr, base);
^
../spa/include/spa/utils/string.h:130:6: note: include the header or explicitly provide a declaration for 'strtoull'
../spa/include/spa/utils/string.h:158:6: warning: implicitly declaring library function 'strtoll' with type 'long long (const char *, char **, int)' [-Wimplicit-function-declaration]
v = strtoll(str, &endptr, base);
^
../spa/include/spa/utils/string.h:158:6: note: include the header or explicitly provide a declaration for 'strtoll'
../spa/include/spa/utils/string.h:215:14: error: use of undeclared identifier 'ssize_t'
spa_assert((ssize_t)size > 0);
^
../spa/include/spa/utils/string.h:217:6: warning: implicitly declaring library function 'vsnprintf' with type 'int (char *, unsigned int, const char *, __builtin_va_list)' [-Wimplicit-function-declaration]
r = vsnprintf(buffer, size, format, args);
^
../spa/include/spa/utils/string.h:217:6: note: include the header or explicitly provide a declaration for 'vsnprintf'
../spa/include/spa/utils/string.h:220:22: error: use of undeclared identifier 'ssize_t'
if (SPA_LIKELY(r < (ssize_t)size))
^
In file included from ../src/pipewire/impl-client.c:30:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:82:
../src/pipewire/core.h:334:9: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
return pw_core_error(core, id, seq, res, buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/core.h:323:31: note: expanded from macro 'pw_core_error'
#define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/core.h:313:2: note: expanded from macro 'pw_core_method'
spa_interface_call_res((struct spa_interface*)o, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:171:2: note: expanded from macro 'spa_interface_call_res'
spa_callbacks_call_res(&(iface)->cb,type,res,method,vers,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
In file included from ../src/pipewire/impl-client.c:30:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:82:
../src/pipewire/core.h:354:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
spa_interface_call_res((struct spa_interface*)core,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:171:2: note: expanded from macro 'spa_interface_call_res'
spa_callbacks_call_res(&(iface)->cb,type,res,method,vers,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
In file included from ../src/pipewire/impl-client.c:30:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:82:
../src/pipewire/core.h:369:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
spa_interface_call_res((struct spa_interface*)core,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:171:2: note: expanded from macro 'spa_interface_call_res'
spa_callbacks_call_res(&(iface)->cb,type,res,method,vers,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
In file included from ../src/pipewire/impl-client.c:30:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:82:
../src/pipewire/core.h:509:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
spa_interface_call_res((struct spa_interface*)registry,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:171:2: note: expanded from macro 'spa_interface_call_res'
spa_callbacks_call_res(&(iface)->cb,type,res,method,vers,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
In file included from ../src/pipewire/impl-client.c:30:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:83:
In file included from ../src/pipewire/loop.h:32:
In file included from ../spa/include/spa/support/loop.h:34:
../spa/include/spa/support/system.h:84:24: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int clockid, struct timespec *value);
^
../spa/include/spa/support/system.h:86:24: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int clockid, struct timespec *res);
^
In file included from ../src/pipewire/impl-client.c:30:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:83:
In file included from ../src/pipewire/loop.h:32:
../spa/include/spa/support/loop.h:261:16: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
struct timespec *value,
^
In file included from ../src/pipewire/impl-client.c:30:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:57:
../src/pipewire/thread-loop.h:151:65: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int pw_thread_loop_get_time(struct pw_thread_loop *loop, struct timespec *abstime, int64_t timeout);
^
../src/pipewire/thread-loop.h:156:72: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int pw_thread_loop_timed_wait_full(struct pw_thread_loop *loop, struct timespec *abstime);
^
In file included from ../src/pipewire/impl-client.c:31:
In file included from ../src/pipewire/private.h:38:
../spa/include/spa/pod/builder.h:145:3: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
spa_callbacks_call_res(&builder->callbacks, struct spa_pod_builder_callbacks, res,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
In file included from ../src/pipewire/impl-client.c:31:
../src/pipewire/private.h:353:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_error(resource, id, seq, res, buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:338:40: note: expanded from macro 'pw_core_resource_error'
#define pw_core_resource_error(r,...) pw_core_resource(r,error,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:183:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_impl_client_emit_info_changed(client, &client->info);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:201:48: note: expanded from macro 'pw_impl_client_emit_info_changed'
#define pw_impl_client_emit_info_changed(o,i) pw_impl_client_emit(o, info_changed, 0, i)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:196:40: note: expanded from macro 'pw_impl_client_emit'
#define pw_impl_client_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_impl_client_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:187:4: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_client_resource_info(resource, &client->info);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/impl-client.c:45:41: note: expanded from macro 'pw_client_resource_info'
#define pw_client_resource_info(r,...) pw_client_resource(r,info,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/impl-client.c:44:40: note: expanded from macro 'pw_client_resource'
#define pw_client_resource(r,m,v,...) pw_resource_call(r,struct pw_client_events,m,v,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:218:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_context_emit_check_access(client->context, client);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:400:44: note: expanded from macro 'pw_context_emit_check_access'
#define pw_context_emit_check_access(c,cl) pw_context_emit(c, check_access, 0, cl)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:396:36: note: expanded from macro 'pw_context_emit'
#define pw_context_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_context_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:252:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_client_resource_permissions(resource, index,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/impl-client.c:46:47: note: expanded from macro 'pw_client_resource_permissions'
#define pw_client_resource_permissions(r,...) pw_client_resource(r,permissions,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/impl-client.c:44:40: note: expanded from macro 'pw_client_resource'
#define pw_client_resource(r,m,v,...) pw_resource_call(r,struct pw_client_events,m,v,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:318:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_client_resource_info(resource, &this->info);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/impl-client.c:45:41: note: expanded from macro 'pw_client_resource_info'
#define pw_client_resource_info(r,...) pw_client_resource(r,info,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/impl-client.c:44:40: note: expanded from macro 'pw_client_resource'
#define pw_client_resource(r,m,v,...) pw_resource_call(r,struct pw_client_events,m,v,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:335:3: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_add_mem(client->core_resource,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:341:42: note: expanded from macro 'pw_core_resource_add_mem'
#define pw_core_resource_add_mem(r,...) pw_core_resource(r,add_mem,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:347:3: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_remove_mem(client->core_resource, block->id);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:342:44: note: expanded from macro 'pw_core_resource_remove_mem'
#define pw_core_resource_remove_mem(r,...) pw_core_resource(r,remove_mem,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:507:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_impl_client_emit_initialized(client);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:200:45: note: expanded from macro 'pw_impl_client_emit_initialized'
#define pw_impl_client_emit_initialized(o) pw_impl_client_emit(o, initialized, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:196:40: note: expanded from macro 'pw_impl_client_emit'
#define pw_impl_client_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_impl_client_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:577:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_impl_client_emit_destroy(client);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:198:42: note: expanded from macro 'pw_impl_client_emit_destroy'
#define pw_impl_client_emit_destroy(o) pw_impl_client_emit(o, destroy, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:196:40: note: expanded from macro 'pw_impl_client_emit'
#define pw_impl_client_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_impl_client_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:592:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_impl_client_emit_free(client);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:199:39: note: expanded from macro 'pw_impl_client_emit_free'
#define pw_impl_client_emit_free(o) pw_impl_client_emit(o, free, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:196:40: note: expanded from macro 'pw_impl_client_emit'
#define pw_impl_client_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_impl_client_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-client.c:716:3: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_impl_client_emit_busy_changed(client, busy);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:205:48: note: expanded from macro 'pw_impl_client_emit_busy_changed'
#define pw_impl_client_emit_busy_changed(o,b) pw_impl_client_emit(o, busy_changed, 0, b)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:196:40: note: expanded from macro 'pw_impl_client_emit'
#define pw_impl_client_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_impl_client_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
25 warnings and 2 errors generated.
[ 9% 43/422] cc -Isrc/pipewire/libpipewire-0.3.so.0.331.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -I../include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.331.0.p/buffers.c.o -MF src/pipewire/libpipewire-0.3.so.0.331.0.p/buffers.c.o.d -o src/pipewire/libpipewire-0.3.so.0.331.0.p/buffers.c.o -c ../src/pipewire/buffers.c
In file included from ../src/pipewire/buffers.c:32:
../spa/include/spa/debug/format.h:55:4: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned int, const char *, ...)' [-Wimplicit-function-declaration]
snprintf(tmp, sizeof(tmp), "%d", *(int32_t*)body);
^
../spa/include/spa/debug/format.h:55:4: note: include the header or explicitly provide a declaration for 'snprintf'
In file included from ../src/pipewire/buffers.c:35:
In file included from ../src/pipewire/private.h:35:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:82:
In file included from ../src/pipewire/core.h:81:
In file included from ../src/pipewire/properties.h:35:
../spa/include/spa/utils/string.h:130:6: warning: implicitly declaring library function 'strtoull' with type 'unsigned long long (const char *, char **, int)' [-Wimplicit-function-declaration]
v = strtoull(str, &endptr, base);
^
../spa/include/spa/utils/string.h:130:6: note: include the header or explicitly provide a declaration for 'strtoull'
../spa/include/spa/utils/string.h:158:6: warning: implicitly declaring library function 'strtoll' with type 'long long (const char *, char **, int)' [-Wimplicit-function-declaration]
v = strtoll(str, &endptr, base);
^
../spa/include/spa/utils/string.h:158:6: note: include the header or explicitly provide a declaration for 'strtoll'
../spa/include/spa/utils/string.h:217:6: warning: implicitly declaring library function 'vsnprintf' with type 'int (char *, unsigned int, const char *, __builtin_va_list)' [-Wimplicit-function-declaration]
r = vsnprintf(buffer, size, format, args);
^
../spa/include/spa/utils/string.h:217:6: note: include the header or explicitly provide a declaration for 'vsnprintf'
In file included from ../src/pipewire/buffers.c:35:
In file included from ../src/pipewire/private.h:35:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:83:
In file included from ../src/pipewire/loop.h:32:
In file included from ../spa/include/spa/support/loop.h:34:
../spa/include/spa/support/system.h:84:24: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int clockid, struct timespec *value);
^
../spa/include/spa/support/system.h:86:24: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int clockid, struct timespec *res);
^
In file included from ../src/pipewire/buffers.c:35:
In file included from ../src/pipewire/private.h:35:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:83:
In file included from ../src/pipewire/loop.h:32:
../spa/include/spa/support/loop.h:261:16: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
struct timespec *value,
^
In file included from ../src/pipewire/buffers.c:35:
In file included from ../src/pipewire/private.h:35:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:57:
../src/pipewire/thread-loop.h:151:65: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int pw_thread_loop_get_time(struct pw_thread_loop *loop, struct timespec *abstime, int64_t timeout);
^
../src/pipewire/thread-loop.h:156:72: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int pw_thread_loop_timed_wait_full(struct pw_thread_loop *loop, struct timespec *abstime);
^
../src/pipewire/buffers.c:77:10: warning: implicitly declaring library function 'alloca' with type 'void *(unsigned int)' [-Wimplicit-function-declaration]
metas = alloca(sizeof(struct spa_meta) * n_params);
^
../src/pipewire/buffers.c:77:10: note: include the header or explicitly provide a declaration for 'alloca'
10 warnings generated.
[ 9% 43/422] cc -Isrc/pipewire/libpipewire-0.3.so.0.331.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -I../include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-core.c.o -MF src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-core.c.o.d -o src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-core.c.o -c ../src/pipewire/impl-core.c
FAILED: src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-core.c.o
cc -Isrc/pipewire/libpipewire-0.3.so.0.331.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -I../include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-core.c.o -MF src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-core.c.o.d -o src/pipewire/libpipewire-0.3.so.0.331.0.p/impl-core.c.o -c ../src/pipewire/impl-core.c
../src/pipewire/impl-core.c:55:31: error: use of undeclared identifier 'O_CLOEXEC'
int fd = open("/dev/random", O_CLOEXEC);
^
In file included from ../src/pipewire/impl-core.c:64:
../spa/include/spa/utils/string.h:130:6: warning: implicitly declaring library function 'strtoull' with type 'unsigned long long (const char *, char **, int)' [-Wimplicit-function-declaration]
v = strtoull(str, &endptr, base);
^
../spa/include/spa/utils/string.h:130:6: note: include the header or explicitly provide a declaration for 'strtoull'
../spa/include/spa/utils/string.h:158:6: warning: implicitly declaring library function 'strtoll' with type 'long long (const char *, char **, int)' [-Wimplicit-function-declaration]
v = strtoll(str, &endptr, base);
^
../spa/include/spa/utils/string.h:158:6: note: include the header or explicitly provide a declaration for 'strtoll'
../spa/include/spa/utils/string.h:217:6: warning: implicitly declaring library function 'vsnprintf' with type 'int (char *, unsigned int, const char *, __builtin_va_list)' [-Wimplicit-function-declaration]
r = vsnprintf(buffer, size, format, args);
^
../spa/include/spa/utils/string.h:217:6: note: include the header or explicitly provide a declaration for 'vsnprintf'
In file included from ../src/pipewire/impl-core.c:67:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:82:
../src/pipewire/core.h:334:9: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
return pw_core_error(core, id, seq, res, buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/core.h:323:31: note: expanded from macro 'pw_core_error'
#define pw_core_error(c,...) pw_core_method(c,error,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/core.h:313:2: note: expanded from macro 'pw_core_method'
spa_interface_call_res((struct spa_interface*)o, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:171:2: note: expanded from macro 'spa_interface_call_res'
spa_callbacks_call_res(&(iface)->cb,type,res,method,vers,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
In file included from ../src/pipewire/impl-core.c:67:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:82:
../src/pipewire/core.h:354:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
spa_interface_call_res((struct spa_interface*)core,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:171:2: note: expanded from macro 'spa_interface_call_res'
spa_callbacks_call_res(&(iface)->cb,type,res,method,vers,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
In file included from ../src/pipewire/impl-core.c:67:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:82:
../src/pipewire/core.h:369:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
spa_interface_call_res((struct spa_interface*)core,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:171:2: note: expanded from macro 'spa_interface_call_res'
spa_callbacks_call_res(&(iface)->cb,type,res,method,vers,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
In file included from ../src/pipewire/impl-core.c:67:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:82:
../src/pipewire/core.h:509:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
spa_interface_call_res((struct spa_interface*)registry,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:171:2: note: expanded from macro 'spa_interface_call_res'
spa_callbacks_call_res(&(iface)->cb,type,res,method,vers,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
In file included from ../src/pipewire/impl-core.c:67:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:83:
In file included from ../src/pipewire/loop.h:32:
In file included from ../spa/include/spa/support/loop.h:34:
../spa/include/spa/support/system.h:84:24: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int clockid, struct timespec *value);
^
../spa/include/spa/support/system.h:86:24: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int clockid, struct timespec *res);
^
In file included from ../src/pipewire/impl-core.c:67:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:35:
In file included from ../src/pipewire/client.h:35:
In file included from ../src/pipewire/proxy.h:108:
In file included from ../src/pipewire/protocol.h:46:
In file included from ../src/pipewire/context.h:83:
In file included from ../src/pipewire/loop.h:32:
../spa/include/spa/support/loop.h:261:16: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
struct timespec *value,
^
In file included from ../src/pipewire/impl-core.c:67:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:57:
../src/pipewire/thread-loop.h:151:65: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int pw_thread_loop_get_time(struct pw_thread_loop *loop, struct timespec *abstime, int64_t timeout);
^
../src/pipewire/thread-loop.h:156:72: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int pw_thread_loop_timed_wait_full(struct pw_thread_loop *loop, struct timespec *abstime);
^
In file included from ../src/pipewire/impl-core.c:68:
In file included from ../src/pipewire/private.h:38:
../spa/include/spa/pod/builder.h:145:3: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
spa_callbacks_call_res(&builder->callbacks, struct spa_pod_builder_callbacks, res,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
In file included from ../src/pipewire/impl-core.c:68:
../src/pipewire/private.h:353:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_error(resource, id, seq, res, buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:338:40: note: expanded from macro 'pw_core_resource_error'
#define pw_core_resource_error(r,...) pw_core_resource(r,error,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:121:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_remove_id(client->core_resource, new_id);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:339:43: note: expanded from macro 'pw_core_resource_remove_id'
#define pw_core_resource_remove_id(r,...) pw_core_resource(r,remove_id,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:211:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_info(resource, &this->info);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:335:39: note: expanded from macro 'pw_core_resource_info'
#define pw_core_resource_info(r,...) pw_core_resource(r,info,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:225:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_done(resource, id, seq);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:336:39: note: expanded from macro 'pw_core_resource_done'
#define pw_core_resource_done(r,...) pw_core_resource(r,done,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:240:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_resource_emit_pong(r, seq);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:894:36: note: expanded from macro 'pw_resource_emit_pong'
#define pw_resource_emit_pong(o,s) pw_resource_emit(o, pong, 0, s)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:891:37: note: expanded from macro 'pw_resource_emit'
#define pw_resource_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_resource_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:255:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_resource_emit_error(r, seq, res, message);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:895:41: note: expanded from macro 'pw_resource_emit_error'
#define pw_resource_emit_error(o,s,r,m) pw_resource_emit(o, error, 0, s, r, m)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:891:37: note: expanded from macro 'pw_resource_emit'
#define pw_resource_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_resource_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:297:4: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_registry_resource_global(registry_resource,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:393:51: note: expanded from macro 'pw_registry_resource_global'
#define pw_registry_resource_global(r,...) pw_registry_resource(r,global,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:392:41: note: expanded from macro 'pw_registry_resource'
#define pw_registry_resource(r,m,v,...) pw_resource_call(r, struct pw_registry_events,m,v,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:314:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_remove_id(client->core_resource, new_id);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:339:43: note: expanded from macro 'pw_core_resource_remove_id'
#define pw_core_resource_remove_id(r,...) pw_core_resource(r,remove_id,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:384:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_remove_id(client->core_resource, new_id);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:339:43: note: expanded from macro 'pw_core_resource_remove_id'
#define pw_core_resource_remove_id(r,...) pw_core_resource(r,remove_id,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:482:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_impl_core_emit_destroy(core);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:225:39: note: expanded from macro 'pw_impl_core_emit_destroy'
#define pw_impl_core_emit_destroy(s) pw_impl_core_emit(s, destroy, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:223:38: note: expanded from macro 'pw_impl_core_emit'
#define pw_impl_core_emit(s,m,v,...) spa_hook_list_call(&s->listener_list, struct pw_impl_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:492:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_impl_core_emit_free(core);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:226:36: note: expanded from macro 'pw_impl_core_emit_free'
#define pw_impl_core_emit_free(s) pw_impl_core_emit(s, free, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:223:38: note: expanded from macro 'pw_impl_core_emit'
#define pw_impl_core_emit(s,m,v,...) spa_hook_list_call(&s->listener_list, struct pw_impl_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:553:3: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_info(resource, &this->info);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:335:39: note: expanded from macro 'pw_core_resource_info'
#define pw_core_resource_info(r,...) pw_core_resource(r,info,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:602:4: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_core_resource_info(resource, &core->info);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:335:39: note: expanded from macro 'pw_core_resource_info'
#define pw_core_resource_info(r,...) pw_core_resource(r,info,0,__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:334:37: note: expanded from macro 'pw_core_resource'
#define pw_core_resource(r,m,v,...) pw_resource_call(r, struct pw_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/resource.h:149:2: note: expanded from macro 'pw_resource_call'
spa_interface_call((struct spa_interface*)r, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../spa/include/spa/utils/hook.h:155:17: note: expanded from macro 'spa_callbacks_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/impl-core.c:643:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_impl_core_emit_initialized(core);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:227:42: note: expanded from macro 'pw_impl_core_emit_initialized'
#define pw_impl_core_emit_initialized(s) pw_impl_core_emit(s, initialized, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:223:38: note: expanded from macro 'pw_impl_core_emit'
#define pw_impl_core_emit(s,m,v,...) spa_hook_list_call(&s->listener_list, struct pw_impl_core_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
27 warnings and 1 error generated.
[ 9% 43/422] cc -Isrc/pipewire/libpipewire-0.3.so.0.331.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -I../include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.331.0.p/context.c.o -MF src/pipewire/libpipewire-0.3.so.0.331.0.p/context.c.o.d -o src/pipewire/libpipewire-0.3.so.0.331.0.p/context.c.o -c ../src/pipewire/context.c
FAILED: src/pipewire/libpipewire-0.3.so.0.331.0.p/context.c.o
cc -Isrc/pipewire/libpipewire-0.3.so.0.331.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -I../include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.331.0.p/context.c.o -MF src/pipewire/libpipewire-0.3.so.0.331.0.p/context.c.o.d -o src/pipewire/libpipewire-0.3.so.0.331.0.p/context.c.o -c ../src/pipewire/context.c
In file included from ../src/pipewire/context.c:35:
In file included from ../spa/include/spa/support/dbus.h:32:
In file included from ../spa/include/spa/support/loop.h:34:
../spa/include/spa/support/system.h:84:24: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int clockid, struct timespec *value);
^
../spa/include/spa/support/system.h:86:24: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int clockid, struct timespec *res);
^
In file included from ../src/pipewire/context.c:35:
In file included from ../spa/include/spa/support/dbus.h:32:
../spa/include/spa/support/loop.h:261:16: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
struct timespec *value,
^
In file included from ../src/pipewire/context.c:38:
../spa/include/spa/utils/string.h:130:6: warning: implicitly declaring library function 'strtoull' with type 'unsigned long long (const char *, char **, int)' [-Wimplicit-function-declaration]
v = strtoull(str, &endptr, base);
^
../spa/include/spa/utils/string.h:130:6: note: include the header or explicitly provide a declaration for 'strtoull'
../spa/include/spa/utils/string.h:158:6: warning: implicitly declaring library function 'strtoll' with type 'long long (const char *, char **, int)' [-Wimplicit-function-declaration]
v = strtoll(str, &endptr, base);
^
../spa/include/spa/utils/string.h:158:6: note: include the header or explicitly provide a declaration for 'strtoll'
../spa/include/spa/utils/string.h:217:6: warning: implicitly declaring library function 'vsnprintf' with type 'int (char *, unsigned int, const char *, __builtin_va_list)' [-Wimplicit-function-declaration]
r = vsnprintf(buffer, size, format, args);
^
../spa/include/spa/utils/string.h:217:6: note: include the header or explicitly provide a declaration for 'vsnprintf'
In file included from ../src/pipewire/context.c:39:
../spa/include/spa/debug/format.h:55:4: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned int, const char *, ...)' [-Wimplicit-function-declaration]
snprintf(tmp, sizeof(tmp), "%d", *(int32_t*)body);
^
../spa/include/spa/debug/format.h:55:4: note: include the header or explicitly provide a declaration for 'snprintf'
In file included from ../src/pipewire/context.c:42:
In file included from ../src/pipewire/impl.h:61:
In file included from ../src/pipewire/pipewire.h:57:
../src/pipewire/thread-loop.h:151:65: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int pw_thread_loop_get_time(struct pw_thread_loop *loop, struct timespec *abstime, int64_t timeout);
^
../src/pipewire/thread-loop.h:156:72: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
int pw_thread_loop_timed_wait_full(struct pw_thread_loop *loop, struct timespec *abstime);
^
../src/pipewire/context.c:242:30: error: use of undeclared identifier '_SC_PAGESIZE'
this->sc_pagesize = sysconf(_SC_PAGESIZE);
^
../src/pipewire/context.c:304:7: warning: implicit declaration of function 'mlockall' is invalid in C99 [-Wimplicit-function-declaration]
if (mlockall(MCL_CURRENT | MCL_FUTURE) < 0)
^
../src/pipewire/context.c:304:16: error: use of undeclared identifier 'MCL_CURRENT'
if (mlockall(MCL_CURRENT | MCL_FUTURE) < 0)
^
../src/pipewire/context.c:304:30: error: use of undeclared identifier 'MCL_FUTURE'
if (mlockall(MCL_CURRENT | MCL_FUTURE) < 0)
^
../src/pipewire/context.c:296:11: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
"%u", spa_cpu_get_max_align(cpu));
^~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/support/cpu.h:147:34: note: expanded from macro 'spa_cpu_get_max_align'
#define spa_cpu_get_max_align(c) spa_cpu_method(c, get_max_align, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/support/cpu.h:139:2: note: expanded from macro 'spa_cpu_method'
spa_interface_call_res(&_c->iface, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:171:2: note: expanded from macro 'spa_interface_call_res'
spa_callbacks_call_res(&(iface)->cb,type,res,method,vers,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:162:17: note: expanded from macro 'spa_callbacks_call_res'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/context.c:421:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_context_emit_destroy(context);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:397:37: note: expanded from macro 'pw_context_emit_destroy'
#define pw_context_emit_destroy(c) pw_context_emit(c, destroy, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:396:36: note: expanded from macro 'pw_context_emit'
#define pw_context_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_context_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/context.c:451:2: warning: comparison of integers of different signs: 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
pw_context_emit_free(context);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:398:35: note: expanded from macro 'pw_context_emit_free'
#define pw_context_emit_free(c) pw_context_emit(c, free, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/pipewire/private.h:396:36: note: expanded from macro 'pw_context_emit'
#define pw_context_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_context_events, m, v, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:204:43: note: expanded from macro 'spa_hook_list_call'
#define spa_hook_list_call(l,t,m,v,...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:193:18: note: expanded from macro 'spa_hook_list_do_call'
if (SPA_LIKELY(SPA_CALLBACK_CHECK(_f,method,vers))) { \
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/include/spa/utils/hook.h:61:69: note: expanded from macro 'SPA_CALLBACK_CHECK'
#define SPA_CALLBACK_CHECK(c,m,v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m)
^
../spa/include/spa/utils/defs.h:231:44: note: expanded from macro 'SPA_LIKELY'
#define SPA_LIKELY(x) (__builtin_expect(!!(x),1))
^
../src/pipewire/context.c:682:12: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("No matching Node found");
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:780:14: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("error get output format: %s", spa_strerror(res));
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:782:14: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("no output formats");
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:797:14: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("error input enum formats: %s", spa_strerror(res));
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:809:14: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("error get input format: %s", spa_strerror(res));
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:811:14: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("no input format");
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:826:14: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("error output enum formats: %s", spa_strerror(res));
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:844:15: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("error input enum formats: %s", spa_strerror(res));
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:846:15: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("no more input formats");
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:861:13: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("error output enum formats: %s", spa_strerror(res));
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:869:12: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
*error = spa_aprintf("error bad node state");
^
../spa/include/spa/utils/defs.h:326:6: note: expanded from macro 'spa_aprintf'
if (asprintf(&(_strp), (_fmt), ## __VA_ARGS__ ) == -1) \
^
../src/pipewire/context.c:1140:15: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration]
entry->lib = strdup(lib);
^
../src/pipewire/context.c:1140:15: note: include the header or explicitly provide a declaration for 'strdup'
25 warnings and 3 errors generated.
[ 10% 43/422] cc -Ispa/plugins/alsa/libspa-alsa.so.p -Ispa/plugins/alsa -I../spa/plugins/alsa -Ispa/include -I../spa/include -I. -I.. -I/usr/local/include -I/usr/local/include/libepoll-shim -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DHAVE_ALSA_UCM -DHAVE_READLINK -MD -MQ spa/plugins/alsa/libspa-alsa.so.p/alsa-pcm-source.c.o -MF spa/plugins/alsa/libspa-alsa.so.p/alsa-pcm-source.c.o.d -o spa/plugins/alsa/libspa-alsa.so.p/alsa-pcm-source.c.o -c ../spa/plugins/alsa/alsa-pcm-source.c
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/mports/multimedia/pipewire