portability of mc

Oswald Buddenhagen ossi at kde.org
Sat May 21 16:37:57 UTC 2005


On Sat, May 21, 2005 at 01:11:35PM +0200, Roland Illig wrote:
> And even size_t has nothing to do with the representation of pointers. 
>
i don't think we're speaking about such stupid things as casting between
pointers and non-pointers (for other purposes than abusing a void* as a
variant type without needing to resort to a union - i think this is
safe). if we do, these bugs should be fixed anyway.
but size_t is guaranteed to be able to cover any offset within the data
address space, i think, otherwise it would be pretty much pointless in
the first place. and these are the cases where long is often used when
it shouldn't. i think it is reasoable to fix those cases independently
from the desire to run mc on winblowz (which for i couldn't care less).

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.



More information about the mc-devel mailing list