summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2021-10-04 13:02:35 +0200
committerStefan Metzmacher <metze@samba.org>2021-10-26 12:00:28 +0000
commit523b18be4b1304cbfe0fb25ebd13245278fe33c8 (patch)
tree87f50a912be7503a67486397d06471c1c883f616
parent1918feb3e9fcba21df55a48e28786243fe9c58a7 (diff)
downloadsamba-523b18be4b1304cbfe0fb25ebd13245278fe33c8.tar.gz
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 BUG: https://bugzilla.samba.org/show_bug.cgi?id=14881 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 5d8e794551b5df835f07e2bd8348fef746144601)
-rw-r--r--source4/kdc/wscript_build1
1 files changed, 1 insertions, 0 deletions
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='''