[Samba] Samba compilation problems in samba-3.4.15/lib/tevent/tevent.h

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Dec 5 01:25:47 MST 2011


Hi!

On Mon, Dec 05, 2011 at 08:30:55AM +0100, Jaroslav Fojtik wrote:
> 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);

Can you please get us the following information:

What platform are you building on, what compiler?

Please post your full config.log and make output somewhere
for inspection.

Does Samba 3.6.2 behave exactly the same?

Thanks,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list