On Thu, 24 Oct 2002, Leopold Toetsch wrote:

> Andy Dougherty wrote:
> 
> >   Types:
> >     iv=long long, intvalsize=8, intsize=4, opcode_t=long long, opcode_t_size=8,
> >     ptrsize=4, ptr_alignment=4 byteorder=87654321, 
 
> The INTVAL2PTR and PTR2INTVAL macros should take care of such a 
> configuration.

Yes, I know.  I'm the one who put those macros in parrot.h.

>                Though I'm not to sure, if we can get rid of all the 
> warnings. But above case seems to be missing in the macros.

However, casting isn't always the correct solution.  Sometimes the issue
is that the underlying types ought to be changed.  For example, I think
that a number of variables currently of type UINTVAL really ought to be of
tipe size_t.  I have posted about this at length before but haven't fixed
it myself due to both time constraints and laziness. 

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to