From owner-freebsd-current Wed May 10 8:32:10 2000 Delivered-To: freebsd-current@freebsd.org Received: from sendero.simon-shapiro.org (sendero.simon-shapiro.org [207.69.194.51]) by hub.freebsd.org (Postfix) with SMTP id 2D6CE37B6F2 for ; Wed, 10 May 2000 08:32:07 -0700 (PDT) (envelope-from shimon@simon-shapiro.org) Received: (qmail 8145 invoked from network); 10 May 2000 16:23:43 -0000 Received: from nomis.simon-shapiro.org (209.86.126.163) by sendero.simon-shapiro.org with SMTP; 10 May 2000 16:23:43 -0000 Content-Length: 1176 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 10 May 2000 11:34:47 -0400 (EDT) Reply-To: shimon@simon-shapiro.org Organization: Simon's Garage From: Simon Shapiro To: Doug Rabson Subject: Re: One more question (different now) Cc: freebsd-current@freebsd.org, obrien@freebsd.org, Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 10-May-00 Doug Rabson wrote: > 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. It actually worked! Now I will go and see what this uintptr_t actually is :-) > > -- > 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 Sincerely Yours 404.664.6401 Simon Shapiro Research Fellow, Earthlink Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message