From: Andreas Schneider Date: Mon, 4 Oct 2021 11:02:35 +0000 (+0200) Subject: waf: Allow building with MIT KRB5 >= 1.20 X-Git-Tag: ldb-2.5.0~372 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d8e794551b5df835f07e2bd8348fef746144601;p=thirdparty%2Fsamba.git waf: Allow building with MIT KRB5 >= 1.20 gssrpc/xdr.h:105:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] 105 | typedef bool_t (*xdrproc_t)(); | ^~~~~~~ This can't be fixed, as the protoype is variadic. It can take up to three arguments. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14870 Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- diff --git a/source4/kdc/wscript_build b/source4/kdc/wscript_build index c1f9a478582..0edca94e75f 100644 --- a/source4/kdc/wscript_build +++ b/source4/kdc/wscript_build @@ -29,6 +29,7 @@ if bld.CONFIG_SET('SAMBA4_USES_HEIMDAL'): if bld.CONFIG_GET('SAMBA_USES_MITKDC'): bld.SAMBA_MODULE('service_kdc', source='kdc-service-mit.c', + cflags_end='-Wno-strict-prototypes', subsystem='service', init_function='server_service_mitkdc_init', deps='''