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

Doug Rabson                             Mail:  [EMAIL PROTECTED]
Nonlinear Systems Ltd.                  Phone: +44 20 8442 9037

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to