/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audio_dump.cpp: In function 'uint32_t bytes_per_sample(cubeb_stream_params)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audio_dump.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type]
32 | }
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:152:51: error: 'DISPATCH_QUEUE_SERIAL' was not declared in this scope; did you mean 'DISPATCH_QUEUE_LABEL'?
152 | dispatch_queue_create(DISPATCH_QUEUE_LABEL, DISPATCH_QUEUE_SERIAL);
| ^~~~~~~~~~~~~~~~~~~~~
| DISPATCH_QUEUE_LABEL
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'OSStatus audiounit_render_input(cubeb_stream*, AudioUnitRenderActionFlags*, const AudioTimeStamp*, UInt32, UInt32)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:55:18: error: expected primary-expression before '^' token
55 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:483:5: note: in expansion of macro 'ALOGV'
483 | ALOGV("(%p) input: reinit pending feeding silence instead", stm);
| ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:55:19: error: expected primary-expression before '{' token
55 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:483:5: note: in expansion of macro 'ALOGV'
483 | ALOGV("(%p) input: reinit pending feeding silence instead", stm);
| ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:54:3: error: 'dispatch_async' was not declared in this scope; did you mean 'dispatch_async_f'?
54 | dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), \
| ^~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:483:5: note: in expansion of macro 'ALOGV'
483 | ALOGV("(%p) input: reinit pending feeding silence instead", stm);
| ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:55:18: error: expected primary-expression before '^' token
55 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:497:3: note: in expansion of macro 'ALOGV'
497 | ALOGV("(%p) input: buffers %u, size %u, channels %u, rendered frames %d, "
| ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:55:19: error: expected primary-expression before '{' token
55 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:497:3: note: in expansion of macro 'ALOGV'
497 | ALOGV("(%p) input: buffers %u, size %u, channels %u, rendered frames %d, "
| ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:54:3: error: 'dispatch_async' was not declared in this scope; did you mean 'dispatch_async_f'?
54 | dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), \
| ^~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:497:3: note: in expansion of macro 'ALOGV'
497 | ALOGV("(%p) input: buffers %u, size %u, channels %u, rendered frames %d, "
| ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'OSStatus audiounit_input_callback(void*, AudioUnitRenderActionFlags*, const AudioTimeStamp*, UInt32, UInt32, AudioBufferList*)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:64:18: error: expected primary-expression before '^' token
64 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:519:5: note: in expansion of macro 'ALOG'
519 | ALOG("(%p) input shutdown", stm);
| ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:64:19: error: expected primary-expression before '{' token
64 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:519:5: note: in expansion of macro 'ALOG'
519 | ALOG("(%p) input shutdown", stm);
| ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:63:3: error: 'dispatch_async' was not declared in this scope; did you mean 'dispatch_async_f'?
63 | dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), \
| ^~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:519:5: note: in expansion of macro 'ALOG'
519 | ALOG("(%p) input shutdown", stm);
| ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'OSStatus audiounit_output_callback(void*, AudioUnitRenderActionFlags*, const AudioTimeStamp*, UInt32, UInt32, AudioBufferList*)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:55:18: error: expected primary-expression before '^' token
55 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:620:3: note: in expansion of macro 'ALOGV'
620 | ALOGV("(%p) output: buffers %u, size %u, channels %u, frames %u, total input "
| ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:55:19: error: expected primary-expression before '{' token
55 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:620:3: note: in expansion of macro 'ALOGV'
620 | ALOGV("(%p) output: buffers %u, size %u, channels %u, frames %u, total input "
| ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:54:3: error: 'dispatch_async' was not declared in this scope; did you mean 'dispatch_async_f'?
54 | dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), \
| ^~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:620:3: note: in expansion of macro 'ALOGV'
620 | ALOGV("(%p) output: buffers %u, size %u, channels %u, frames %u, total input "
| ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:64:18: error: expected primary-expression before '^' token
64 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:634:5: note: in expansion of macro 'ALOG'
634 | ALOG("(%p) output shutdown.", stm);
| ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:64:19: error: expected primary-expression before '{' token
64 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:634:5: note: in expansion of macro 'ALOG'
634 | ALOG("(%p) output shutdown.", stm);
| ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:64:18: error: expected primary-expression before '^' token
64 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:679:7: note: in expansion of macro 'ALOG'
679 | ALOG("(%p) %s pushed %ld frames of input silence.", stm,
| ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:64:19: error: expected primary-expression before '{' token
64 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:679:7: note: in expansion of macro 'ALOG'
679 | ALOG("(%p) %s pushed %ld frames of input silence.", stm,
| ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:703:34: warning: comparison of integer expressions of different signedness: 'long int' and 'UInt32' {aka 'long unsigned int'} [-Wsign-compare]
703 | if (outframes < 0 || outframes > output_frames) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'int audiounit_set_device_info(cubeb_stream*, AudioDeviceID, io_side)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:786:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct device_info'; use assignment or value-initialization instead [-Wclass-memaccess]
786 | memset(info, 0, sizeof(device_info));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:184:8: note: 'struct device_info' declared here
184 | struct device_info {
| ^~~~~~~~~~~
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_utils.h:15,
from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_ring_array.h:11,
from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:30:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:809:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
809 | assert(info->flags & DEV_INPUT && !(info->flags & DEV_OUTPUT) ||
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'int audiounit_reinit_stream(cubeb_stream*, device_flags_value)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:847:27: warning: enumerated and non-enumerated type in conditional expression [-Wextra]
847 | flags & DEV_INPUT ? stm->input_device.id : kAudioObjectUnknown;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'void audiounit_reinit_stream_async(cubeb_stream*, device_flags_value)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:64:18: error: expected primary-expression before '^' token
64 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:904:5: note: in expansion of macro 'ALOG'
904 | ALOG("(%p) re-init stream task already pending, cancelling request", stm);
| ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:64:19: error: expected primary-expression before '{' token
64 | ^{ \
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:904:5: note: in expansion of macro 'ALOG'
904 | ALOG("(%p) re-init stream task already pending, cancelling request", stm);
| ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:63:3: error: 'dispatch_async' was not declared in this scope; did you mean 'dispatch_async_f'?
63 | dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), \
| ^~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:904:5: note: in expansion of macro 'ALOG'
904 | ALOG("(%p) re-init stream task already pending, cancelling request", stm);
| ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:910:46: error: expected primary-expression before '^' token
910 | dispatch_async(stm->context->serial_queue, ^() {
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:910:48: error: expected primary-expression before ')' token
910 | dispatch_async(stm->context->serial_queue, ^() {
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:910:3: error: 'dispatch_async' was not declared in this scope; did you mean 'dispatch_async_f'?
910 | dispatch_async(stm->context->serial_queue, ^() {
| ^~~~~~~~~~~~~~
| dispatch_async_f
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:22,
from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioComponent.h:45,
from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:21,
from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:9:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'int audiounit_set_channel_layout(AudioUnit, io_side, cubeb_channel_layout)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:1556:67: error: the value of 'nb_channels' is not usable in a constant expression
1556 | size_t size = offsetof(AudioChannelLayout, mChannelDescriptions[nb_channels]);
| ^~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:1552:12: note: 'uint32_t nb_channels' is not const
1552 | uint32_t nb_channels = cubeb_channel_layout_nb_channels(layout);
| ^~~~~~~~~~~
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h:33,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'int audiounit_create_blank_aggregate_device(AudioObjectID*, AudioDeviceID*)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:1710:30: error: expected ')' before 'kAudioAggregateDeviceIsStackedKey'
1710 | CFSTR(kAudioAggregateDeviceIsStackedKey),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:1710:24: note: to match this '('
1710 | CFSTR(kAudioAggregateDeviceIsStackedKey),
| ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'void audiounit_stream_destroy(cubeb_stream*)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:2942:45: error: expected primary-expression before '^' token
2942 | dispatch_sync(stm->context->serial_queue, ^() {
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:2942:47: error: expected primary-expression before ')' token
2942 | dispatch_sync(stm->context->serial_queue, ^() {
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:2942:3: error: 'dispatch_sync' was not declared in this scope; did you mean 'dispatch_sync_f'?
2942 | dispatch_sync(stm->context->serial_queue, ^() {
| ^~~~~~~~~~~~~
| dispatch_sync_f
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'OSStatus audiounit_collection_changed_callback(AudioObjectID, UInt32, const AudioObjectPropertyAddress*, void*)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:3562:41: error: expected primary-expression before '^' token
3562 | dispatch_async(context->serial_queue, ^() {
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:3562:43: error: expected primary-expression before ')' token
3562 | dispatch_async(context->serial_queue, ^() {
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:3562:3: error: 'dispatch_async' was not declared in this scope; did you mean 'dispatch_async_f'?
3562 | dispatch_async(context->serial_queue, ^() {
| ^~~~~~~~~~~~~~
| dispatch_async_f
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'OSStatus audiounit_add_device_listener(cubeb*, cubeb_device_type, cubeb_device_collection_changed_callback, void*)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:3603:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
3603 | assert((devtype & CUBEB_DEVICE_TYPE_INPUT) &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
3604 | !context->input_collection_changed_callback ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: In function 'const char* to_string(io_side)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:182:1: warning: control reaches end of non-void function [-Wreturn-type]
182 | }
| ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp: At global scope:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_audiounit.cpp:816:1: warning: 'int audiounit_reinit_stream(cubeb_stream*, device_flags_value)' defined but not used [-Wunused-function]
816 | audiounit_reinit_stream(cubeb_stream * stm, device_flags_value flags)
| ^~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_ring_array.h:123:1: warning: 'AudioBuffer* ring_array_get_data_buffer(ring_array*)' defined but not used [-Wunused-function]
123 | ring_array_get_data_buffer(ring_array * ra)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_ring_array.h:102:1: warning: 'AudioBuffer* ring_array_get_free_buffer(ring_array*)' defined but not used [-Wunused-function]
102 | ring_array_get_free_buffer(ring_array * ra)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_ring_array.h:83:1: warning: 'void ring_array_destroy(ring_array*)' defined but not used [-Wunused-function]
83 | ring_array_destroy(ring_array * ra)
| ^~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/cubeb-2bee6bcbd37b121ab197193fe466eef0e91b62b1/src/cubeb_ring_array.h:51:1: warning: 'int ring_array_init(ring_array*, uint32_t, uint32_t, uint32_t, uint32_t)' defined but not used [-Wunused-function]
51 | ring_array_init(ring_array * ra, uint32_t capacity, uint32_t bytesPerFrame,
| ^~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/cubeb.dir/src/cubeb_audiounit.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/build'
make[1]: *** [CMakeFiles/cubeb.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_cubeb/cubeb/work/build'
make: *** [all] Error 2
Apparently it uses libdispatch unconditionally, but worse so, it uses blocks, which means this cannot be built with gcc on any macOS version regardless of libdispatch being supported or not.
Apparently it uses libdispatch unconditionally, but worse so, it uses blocks, which means this cannot be built with gcc on any macOS version regardless of libdispatch being supported or not.