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.
ef3df27507
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
|
4 years ago | |
---|---|---|
.. | ||
dnsmasq | 4 years ago | |
dropbear | 5 years ago | |
ead | 6 years ago | |
hostapd | 4 years ago | |
igmpproxy | 6 years ago | |
ipset-dns | 7 years ago | |
lldpd | 5 years ago | |
odhcpd | 5 years ago | |
omcproxy | 5 years ago | |
openvpn | 5 years ago | |
openvpn-easy-rsa | 6 years ago | |
ppp | 4 years ago | |
relayd | 6 years ago | |
samba36 | 5 years ago | |
uhttpd | 4 years ago | |
umdns | 4 years ago | |
wireguard | 5 years ago |