Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 00:04:43 -0400
From:      Warner Losh <imp@bsdimp.com>
To:        =?windows-1252?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org>, Bruce Evans <brde@optusnet.com.au>
Subject:   Re: svn commit: r266238 - head/contrib/ldns/ldns
Message-ID:  <4A83A11B-EFDD-46C5-B9D4-D81EBD4FAAAE@gmail.com>
In-Reply-To: <86ppjdjg2c.fsf@nine.des.no>
References:  <201405161532.s4GFWGvh006504@svn.freebsd.org> <20140517112645.N925@besplex.bde.org> <86ppjdjg2c.fsf@nine.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

On May 16, 2014, at 10:26 PM, Dag-Erling Sm=F8rgrav <des@des.no> wrote:

> Bruce Evans <brde@optusnet.com.au> writes:
>> -Wcast-qual is especially onerous in contrib'ed code written to a =
lower
>> standard.
>=20
> Well, I could have just lowered WARNS...  LDNS actually isn't that =
bad.
> Unbound is much worse.
>=20
>> Converting this to use system endianness conversion functions =
wouldn't
>> take much more churn.
>=20
> Do our standard endianness conversion functions handle unaligned
> accesses?

No. The warning appears to be telling us something that=92s being =
papered over.

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A83A11B-EFDD-46C5-B9D4-D81EBD4FAAAE>