Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2000 11:34:47 -0400 (EDT)
From:      Simon Shapiro <shimon@simon-shapiro.org>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        freebsd-current@freebsd.org, obrien@freebsd.org, Mike Smith <msmith@freebsd.org>
Subject:   Re: One more question (different now)
Message-ID:  <XFMail.000510113447.shimon@simon-shapiro.org>
In-Reply-To: <Pine.BSF.4.21.0005100910590.47945-100000@salmon.nlsystems.com>

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000510113447.shimon>