[Gc] gc7 and 64-bit platforms

MenTaLguY mental at rydia.net
Mon Nov 15 22:27:54 PST 2004


On Mon, 2004-11-15 at 22:41, Peter Colson wrote:
> Also, possibly more widespread, interchanging size_t and word usage 
> (allchblk, GC_allocchblk and GC_allocchblk_nth sz param,  and 
> elsewhere). On an LP64 platform do you imagine that size_t would be 
> promoted to an 8-byte size as per long? On my LLP64 platform size_t 
> remains at 4 bytes (unsigned long) while word becomes 8-bytes (unsigned 
> long long)? So is this interchange of word and size_t vars valid?

What platform and compiler is this?  I'm fairly certain that, according
to the language specification, sizeof(size_t) == sizeof(void *)...

-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20041116/0ba3b9be/attachment.pgp


More information about the Gc mailing list