Kevin Darbyshire-Bryant 02640f0147 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>
2020-04-04 11:28:18 +01:00
..
2020-03-29 18:30:08 +01:00
2020-01-15 21:31:12 +01:00
2020-01-05 19:36:46 +01:00
2018-07-30 10:43:36 +02:00
2020-02-22 10:31:28 +02:00
2020-03-15 20:09:19 +01:00
2019-12-22 10:45:09 +01:00
2020-03-01 21:35:59 +01:00
2020-03-25 19:22:10 +01:00
2020-04-01 22:24:58 +02:00