libvirt/m4
Daniel P. Berrange e57aaa6fcf Disable cast-align warnings in various places
There are a number of places which generate cast alignment
warnings, which are difficult or impossible to address. Use
pragmas to disable the warnings in these few places

conf/nwfilter_conf.c: In function 'virNWFilterRuleDetailsParse':
conf/nwfilter_conf.c:1806:16: warning: cast increases required alignment of target type [-Wcast-align]
         item = (nwItemDesc *)((char *)nwf + att[idx].dataIdx);
conf/nwfilter_conf.c: In function 'virNWFilterRuleDefDetailsFormat':
conf/nwfilter_conf.c:3238:16: warning: cast increases required alignment of target type [-Wcast-align]
         item = (nwItemDesc *)((char *)def + att[i].dataIdx);

storage/storage_backend_mpath.c: In function 'virStorageBackendCreateVols':
storage/storage_backend_mpath.c:247:17: warning: cast increases required alignment of target type [-Wcast-align]
         names = (struct dm_names *)(((char *)names) + next);

nwfilter/nwfilter_dhcpsnoop.c: In function 'virNWFilterSnoopDHCPDecode':
nwfilter/nwfilter_dhcpsnoop.c:994:15: warning: cast increases required alignment of target type [-Wcast-align]
         pip = (struct iphdr *) pep->eh_data;
nwfilter/nwfilter_dhcpsnoop.c:1004:11: warning: cast increases required alignment of target type [-Wcast-align]
     pup = (struct udphdr *) ((char *) pip + (pip->ihl << 2));

nwfilter/nwfilter_learnipaddr.c: In function 'procDHCPOpts':
nwfilter/nwfilter_learnipaddr.c:327:33: warning: cast increases required alignment of target type [-Wcast-align]
                 uint32_t *tmp = (uint32_t *)&dhcpopt->value;
nwfilter/nwfilter_learnipaddr.c: In function 'learnIPAddressThread':
nwfilter/nwfilter_learnipaddr.c:501:43: warning: cast increases required alignment of target type [-Wcast-align]
                     struct iphdr *iphdr = (struct iphdr*)(packet +
nwfilter/nwfilter_learnipaddr.c:538:43: warning: cast increases required alignment of target type [-Wcast-align]
                     struct iphdr *iphdr = (struct iphdr*)(packet +
nwfilter/nwfilter_learnipaddr.c:544:48: warning: cast increases required alignment of target type [-Wcast-align]
                         struct udphdr *udphdr= (struct udphdr *)

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-04-08 10:03:21 +01:00
..
virt-apparmor.m4 Convert apparmor check to use LIBVIRT_CHECK_LIB 2013-01-14 13:25:05 +00:00
virt-attr.m4 Add a test suite for validating SELinux labelling 2013-01-14 13:40:04 +00:00
virt-audit.m4 Convert audit check to use LIBVIRT_CHECK_LIB 2013-01-11 11:03:23 +00:00
virt-avahi.m4 Convert avahi check to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:46 +00:00
virt-blkid.m4 Convert blkid check over to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:47 +00:00
virt-capng.m4 Convert cap-ng check to use LIBVIRT_CHECK_LIB 2013-01-14 13:25:06 +00:00
virt-compile-pie.m4 Build all binaries with PIE 2013-04-03 16:19:35 +01:00
virt-compile-warnings.m4 Disable cast-align warnings in various places 2013-04-08 10:03:21 +01:00
virt-curl.m4 Fix typo LIBCURL_{CFLAGS,LIBS} to CURL_{CFLAGS,LIBS} 2013-01-14 17:22:31 +00:00
virt-dbus.m4 Fix typo in configure.ac causing $LIBS to gain a copy of $CFLAGS 2013-02-05 18:04:16 +00:00
virt-fuse.m4 Convert fuse check over to use LIBVIRT_CHECK_PKG 2013-01-14 13:29:17 +00:00
virt-hal.m4 Convert HAL check to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:47 +00:00
virt-lib.m4 build: avoid m4_expand for RHEL 5 2013-01-11 11:30:55 -07:00
virt-linker-relro.m4 Enable full RELRO mode 2013-04-03 16:19:35 +01:00
virt-netcf.m4 Convert netcf check to use LIBVIRT_CHECK_PKG 2013-01-14 13:25:40 +00:00
virt-numactl.m4 Convert numactl checks to use LIBVIRT_CHECK_LIB 2013-01-14 13:25:06 +00:00
virt-openwsman.m4 Convert openwsman check to use LIBVIRT_CHECK_PKG 2013-01-14 13:29:54 +00:00
virt-pciaccess.m4 Convert udev/pciaccess checks to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:47 +00:00
virt-pkgconfig-back-compat.m4 Remove acinclude.m4 file 2011-04-05 11:39:44 +01:00
virt-result.m4 Add some autoconf helper macros for checking for libraries 2013-01-11 11:03:22 +00:00
virt-sanlock.m4 Convert sanlock check to use LIBVIRT_CHECK_LIB 2013-01-11 11:03:23 +00:00
virt-sasl.m4 Convert sasl check to use LIBVIRT_CHECK_LIB_ALT 2013-01-11 11:03:23 +00:00
virt-selinux.m4 Convert selinux check to use LIBVIRT_CHECK_LIB 2013-01-14 13:24:49 +00:00
virt-ssh2.m4 Convert ssh2 check to use LIBVIRT_CHECK_PKG 2013-01-14 13:29:44 +00:00
virt-udev.m4 maint: typo fix 2013-01-14 09:33:48 -07:00
virt-yajl.m4 Convert yajl check to use LIBVIRT_CHECK_LIB_ALT 2013-01-11 11:03:23 +00:00