Re: portability of mc
- From: Oswald Buddenhagen <ossi kde org>
- To: mc-devel gnome org
- Subject: Re: portability of mc
- Date: Sat, 21 May 2005 18:37:57 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]