Subject: Re: __UNCONST(a)
To: None <tech-userlevel@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 07/04/2004 02:22:09
>> If I had to use a __DECONST like that, I would almost certainly wrap
>> a DECONST() around it that simply provided void * as the type.
> Then you don't need __DECONST, do you?  Wouldn't '(void*)' do just as
> well?

No, because I use -Wcast-qual -Wwrite-strings.

And from a pragmatic point of view, it's been a right choice for me;
the warnings I get are worth more than the hassle they occasionally
require cost me.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B