Created attachment 243685 [details] patch to add CFLAGS On 14.0-CURRENT (clang16) compiling RawStudio gives the following error: rs-tethered-shooting.c:1178:51: error: incompatible function pointer types passing 'void (GPContext *, const char *, struct __va_list_tag *, void *)' (aka 'void (struct _GPContext *, const char *, struct __va_list_tag *, void *)') to parameter of type 'GPContextErrorFunc' (aka 'void (*)(struct _GPContext *, const char *, void *)') [-Wincompatible-function-pointer-types] gp_context_set_error_func (tether_info->context, ctx_error_func, tether_info); ^~~~~~~~~~~~~~ /usr/local/include/gphoto2/gphoto2-context.h:90:28: note: passing argument to parameter 'func' here GPContextErrorFunc func, void *data); ^ rs-tethered-shooting.c:1179:52: error: incompatible function pointer types passing 'void (GPContext *, const char *, struct __va_list_tag *, void *)' (aka 'void (struct _GPContext *, const char *, struct __va_list_tag *, void *)') to parameter of type 'GPContextStatusFunc' (aka 'void (*)(struct _GPContext *, const char *, void *)') [-Wincompatible-function-pointer-types] gp_context_set_status_func (tether_info->context, ctx_status_func, tether_info); ^~~~~~~~~~~~~~~ /usr/local/include/gphoto2/gphoto2-context.h:92:29: note: passing argument to parameter 'func' here GPContextStatusFunc func, void *data); Adding CFLAGS+=-Wno-incompatible-function-pointer-types workarounds this.