Enable deprecation warnings on all C programs.

This commit is contained in:
Richard W.M. Jones
2011-05-17 15:04:56 +01:00
parent 8c0aca8d92
commit 34acb80a28
11 changed files with 17 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ endif
create_disk_SOURCES = create_disk.c
create_disk_CFLAGS = \
-DGUESTFS_WARN_DEPRECATED=1 \
-I$(top_srcdir)/src -I$(top_builddir)/src \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
create_disk_LDADD = \
@@ -35,6 +36,7 @@ create_disk_LDADD = \
inspect_vm_SOURCES = inspect_vm.c
inspect_vm_CFLAGS = \
-DGUESTFS_WARN_DEPRECATED=1 \
-I$(top_srcdir)/src -I$(top_builddir)/src \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
inspect_vm_LDADD = \
@@ -42,6 +44,7 @@ inspect_vm_LDADD = \
virt_dhcp_address_SOURCES = virt-dhcp-address.c
virt_dhcp_address_CFLAGS = \
-DGUESTFS_WARN_DEPRECATED=1 \
-I$(top_srcdir)/src -I$(top_builddir)/src \
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
$(HIVEX_CFLAGS)