From: Andrew Bartlett Date: Wed, 6 Nov 2019 02:33:24 +0000 (+1300) Subject: build: Allow warning on compile of libnetapi PIDL X-Git-Tag: talloc-2.3.1~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e0442efbe738c1e1d12a237b4c0abe8a472a176;p=thirdparty%2Fsamba.git build: Allow warning on compile of libnetapi PIDL This not-protocol only uses the print functions, but this means some other functions are now unused, and as this is a special case it is better to just allow warnings here. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14191 Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/source3/librpc/wscript_build b/source3/librpc/wscript_build index 92603509311..6bc3667f719 100644 --- a/source3/librpc/wscript_build +++ b/source3/librpc/wscript_build @@ -2,7 +2,8 @@ bld.SAMBA3_SUBSYSTEM('NDR_LIBNETAPI', source='gen_ndr/ndr_libnetapi.c', - public_deps='ndr' + public_deps='ndr', + allow_warnings=True ) bld.SAMBA3_SUBSYSTEM('NDR_LIBNET_JOIN',