Sorry about the previous incomplete mail. I clicked
the send button inadvertantly.
On Thu, 07 September 2000, "Edouard G. Parmelan" wrote:
> Correct my if I'm wrong, on the Alpha the expression (void*)-1 produces
> 0x00000000FFFFFFFF as the cast will not propagate bit sign and -1 is an
> int aka a 32 bits value.
>
> Could you test that with the following C test case ?
>
> #include <stdio.h>
> int main() {
> printf ("(void*)-1 = %p\n", (void*)-1);
> return 0;
> }
On both Tru64 Unix and Linux/Alpha the following
is the result
(void*)-1 = 0xffffffffffffffff
> Also size_t should be 64 bits, but I'm not sure, so I have change
> gc_heap_base and gc_block_base to uintp.
Again, sizeof(size_t) is 8 on both OSs.
Is the problem lurking somewhere else?
Bharadwaj
Personal e-mail : [EMAIL PROTECTED]
or [EMAIL PROTECTED]
_______________________________________________________________________
Free Unlimited Internet Access! Try it now!
http://www.zdnet.com/downloads/altavista/index.html
_______________________________________________________________________