Dears, The original code that does not compile:
int tevent_set_debug(struct tevent_context *ev, void (*debug)(void *context, enum tevent_debug_level level, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(3,0), void *context); I do not know what is a purpose of PRINTF_ATTRIBUTE Proposed workaround, that gets compiled: int tevent_set_debug(struct tevent_context *ev, void (*debug)(void *context, enum tevent_debug_level level, const char *fmt, va_list ap), void *context); Proposed workaround hint #2: #ifndef PRINTF_ATTRIBUTE #define PRINTF_ATTRIBUTE(x,y) #endif best regards Jara -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba