build: Allow warning on compile of libnetapi PIDL
authorAndrew Bartlett <abartlet@samba.org>
Wed, 6 Nov 2019 02:33:24 +0000 (15:33 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 13 Nov 2019 00:32:36 +0000 (00:32 +0000)
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 <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source3/librpc/wscript_build

index 9260350931113ab62ca373b0272b7ec36bdecb45..6bc3667f719e9c37523c53855100ebd031da4bcb 100644 (file)
@@ -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',