https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78267

--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Maxim Ostapenko from comment #1)
> Eh, mine.
> 
> typedef void (^os_trace_payload_t)(xpc_object_t xdict) looks very strange,
> it seems that it's an Objective-C declaration, right?

It's declaring os_trace_payload_t to of type "Apple block" (like a lambda that
can be used over the whole of c-family);  Apple blocks are currently not
supported by GCC.  There is no realistic work-around, any interface using
blocks will fail, and thus either those interfaces need to be excluded from
tests, or the tests skipped/xfailed.

> 
> Could you check:
> 
> 1) Libc version on your system.
> 2) Contents of /usr/include/os/trace.h. Is that a valid C header?

Reply via email to