Closed
Description
Shows up with Clang 19.1.2 but not with Clang 16.0.6. This is when building Swift 5.8.1, but it looks like this code hasn't changed since then.
swift-corelibs-libdispatch/src/apply.c:366:4: error: cast from 'dispatch_function_t' (aka 'void ()(void * _Nullable)') to 'dispatch_apply_function_t' (aka 'void ()(void *, unsigned long)') converts to incompatible function type [-Werror,-Wcast-function-type-mismatch]
366 | (dispatch_apply_function_t)_dispatch_Block_invoke(work));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Metadata
Metadata
Assignees
Labels
No labels