build: Turn off all deprecation warnings
authorMartin Schwenke <martin@meltin.net>
Wed, 10 Jul 2013 06:35:53 +0000 (16:35 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 10 Jul 2013 08:14:32 +0000 (18:14 +1000)
The "‘tevent_loop_allow_nesting’ is deprecated" warnings will be
around for a while and are annoying.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 30a0040fbb7c4d97d107f0e55c600295c2603a68)

ctdb/Makefile.in

index 32a8c2e7440fb501faa1ebe336799760f2a0a7b5..678141fb2dfec7adecd9b2fd48e1e879b25579ac 100755 (executable)
@@ -59,7 +59,7 @@ WRAPPER=
 endif
 
 ifeq ($(CC),gcc)
-EXTRA_CFLAGS=-Wno-format-zero-length -fPIC
+EXTRA_CFLAGS=-Wno-format-zero-length -Wno-deprecated-declarations -fPIC
 endif
 
 CFLAGS=@CPPFLAGS@ -g -I$(srcdir)/include -Iinclude -Ilib -Ilib/util -I$(srcdir) \