You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/network/services
Kevin Darbyshire-Bryant ef3df27507 umdns: suppress address-of-packed-member warning
gcc 8 & 9 appear to be more picky with regards access alignment to
packed structures, leading to this warning in dns.c:

dns.c:261:2: error: converting a packed ‘struct dns_question’ pointer
(alignment 1) to a ‘uint16_t’ {aka ‘short unsigned int’} pointer
(alignment 2) may result in an unaligned pointer value
[-Werror=address-of-packed-member]

261 |  uint16_t *swap = (uint16_t *) q;

Work around what I think is a false positive by turning the warning off.
Not ideal, but not quite as not ideal as build failure.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
(cherry picked from commit 02640f0147)
(cherry picked from commit a10b6ec1c8cd6d14a3b76a2ec3d81442b85f7321)
4 years ago
..
dnsmasq dnsmasq: add 'scriptarp' option 4 years ago
dropbear dropbear: allow build without dbclient 5 years ago
ead ead: use new protocol setting API since libpcap 1.9.0 6 years ago
hostapd hostapd: remove erroneous $(space) redefinition 4 years ago
igmpproxy igmpproxy: drop SSDP packets 6 years ago
ipset-dns ipset-dns: bump to git HEAD 7 years ago
lldpd lldpd: add option to edit hostname 5 years ago
odhcpd odhcpd: optimize syslog priority values 5 years ago
omcproxy omcproxy: define configuration file 5 years ago
openvpn build: include BUILD_VARIANT in PKG_BUILD_DIR 5 years ago
openvpn-easy-rsa openvpn-easy-rsa: update to 3.0.4 6 years ago
ppp ppp: backport security fixes 4 years ago
relayd treewide: replace LEDE_GIT with PROJECT_GIT 6 years ago
samba36 samba36: allow build with no ipv6 support 5 years ago
uhttpd uhttpd: update to latest Git HEAD 4 years ago
umdns umdns: suppress address-of-packed-member warning 4 years ago
wireguard wireguard: bump to 0.0.20190702 5 years ago