[m-rev.] for review: put almost all layout structures in arrays

Paul Bone pbone at csse.unimelb.edu.au
Fri Nov 6 08:20:09 AEDT 2009


On Fri, Nov 06, 2009 at 02:33:13AM +1100, Julien Fischer wrote:
>
> On Wed, 28 Oct 2009, Zoltan Somogyi wrote:
>
> ...
>
>> runtime/mercury_accurate_gc.c:
>> runtime/mercury_agc_debug.c:
>> runtime/mercury_layout_util.c:
>> runtime/mercury_stack_trace.c:
>> runtime/mercury_types.h:
>> trace/mercury_trace.c:
>> trace/mercury_trace_vars.c:
>> 	Conform to the changes in mercury_stack_layout.h.
>
> Also, the runtime no longer compiles cleanly on 64-bit machines due to:
>
> mercury_layout_util.c: In function `MR_lookup_closure_long_lval':
> mercury_layout_util.c:349: warning: cast to pointer from integer of
> different size
> mercury_layout_util.c: In function `MR_lookup_typeclass_info_long_lval':
> mercury_layout_util.c:468: warning: cast to pointer from integer of
> different size
> mercury_layout_util.c: In function `MR_lookup_answer_block_long_lval':
> mercury_layout_util.c:584: warning: cast to pointer from integer of
> different size
> mercury_layout_util.c: In function `MR_lookup_long_lval_base':
> mercury_layout_util.c:704: warning: cast to pointer from integer of
> different size
>

I noticed this but my build still worked, I dicided to investigate later.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20091106/619cabe7/attachment.sig>


More information about the reviews mailing list