svn commit: r266238 - head/contrib/ldns/ldns

Warner Losh imp at bsdimp.com
Sat May 17 04:12:38 UTC 2014


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

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

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

Warner



More information about the svn-src-head mailing list