From owner-freebsd-current Wed May 10 1: 6:51 2000 Delivered-To: freebsd-current@freebsd.org Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by hub.freebsd.org (Postfix) with ESMTP id BCD6F37B584; Wed, 10 May 2000 01:06:40 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from nlsys.demon.co.uk ([158.152.125.33] helo=herring.nlsystems.com) by anchor-post-33.mail.demon.net with esmtp (Exim 2.12 #1) id 12pRVv-000Ig6-0X; Wed, 10 May 2000 09:06:39 +0100 Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id JAA14828; Wed, 10 May 2000 09:10:03 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Wed, 10 May 2000 09:11:24 +0100 (BST) From: Doug Rabson To: Mike Smith Cc: obrien@freebsd.org, freebsd-current@freebsd.org Subject: Re: One more question (different now) In-Reply-To: <200005092342.QAA20940@mass.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 9 May 2000, Mike Smith wrote: > > On Tue, May 09, 2000 at 04:27:10PM -0700, Mike Smith wrote: > > > The only answer I've seen for this one is to kick, hard, whoever it was > > > that added -Wcast-qual to the kernel options. > > > > Or we should just delete it from the options. > > Ugh. I don't actually like that, because it serves a valid purpose. > What irritates me mostly is just that there is no way of casting a > volatile object into a non-volatile type, so you can't implement any sort > of conditional volatility exclusion. You can suppress the warning if you cast to uintptr_t first. Pretty ugly though. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 20 8442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message