From owner-svn-src-all@FreeBSD.ORG Sat May 17 04:11:20 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4501FCA8 for ; Sat, 17 May 2014 04:11:20 +0000 (UTC) Received: from mail-pb0-f45.google.com (mail-pb0-f45.google.com [209.85.160.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 163852A5C for ; Sat, 17 May 2014 04:11:19 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id um1so3419962pbc.4 for ; Fri, 16 May 2014 21:11:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=TJLDxsjiT0H1QK5FW9Qu21X02q5cW/wq9eJYM41+FVA=; b=fBw98cMELDNpCAbY54iEglXkQ6vCVAqzgsGVXCyFu+V/Ut7QoNC3kUpVQUnfK+1evY LzxHFRqnlQBscQPlw0BtHUjUYHjWaiSojLyWObEozPlfCGZgF/8tnYq1NqUh/8HH1HBx z+u3keXgjRhpNhmbvX9k+SwuKfWrkFDZZEzGagCF7g4kzkOVKEp76lX6Kz9PtmlL1EsO m/tuZxWfQIYJBG+8HI4Z9Cos1hxFtciH65l/MNxor3e4f7GbVxRG/ex9EVzYPIGdoug6 tE+9A4t3pS8TXXM1mftPrZs9ReD9tdF63eTT/j/a8Y4p4+Ds15E2INYDzyf4P54dx8QO OYvA== X-Gm-Message-State: ALoCoQlbAYwT9oifIMoMtr4dHqVRG5b8xYObuGhS2B+J7rPo9OjqCij/f15JWu0rh/yJQ/EAq9sI X-Received: by 10.68.193.100 with SMTP id hn4mr26024747pbc.50.1400299497836; Fri, 16 May 2014 21:04:57 -0700 (PDT) Received: from [10.64.24.248] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id qv3sm17317048pbb.87.2014.05.16.21.04.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 May 2014 21:04:57 -0700 (PDT) Sender: Warner Losh X-Google-Original-From: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: svn commit: r266238 - head/contrib/ldns/ldns From: Warner Losh In-Reply-To: <86ppjdjg2c.fsf@nine.des.no> Date: Sat, 17 May 2014 00:04:43 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <4A83A11B-EFDD-46C5-B9D4-D81EBD4FAAAE@gmail.com> References: <201405161532.s4GFWGvh006504@svn.freebsd.org> <20140517112645.N925@besplex.bde.org> <86ppjdjg2c.fsf@nine.des.no> To: =?windows-1252?Q?Dag-Erling_Sm=F8rgrav?= X-Mailer: Apple Mail (2.1874) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers , Bruce Evans X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2014 04:11:20 -0000 On May 16, 2014, at 10:26 PM, Dag-Erling Sm=F8rgrav wrote: > Bruce Evans 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