> Probably for Convention C, we should convert Address to *void.
>
> So, for
>
>    function Alloc (Size : size_t) return System.Address;
>    pragma Export (C, Alloc,   "__gnat_malloc");
>
> we probably should do this replacement and add the necessary
> type conversions. That would seem to be how this was intended.
> However, I'm not sure how much of an earthquake this would
> be in gigi.

That sounds like a good idea which, even if it doesn't solve the underlying 
issue in its full generality, would probably be sufficient in the m68k case.

I'll give it a try.  Thanks for the tip!

-- 
Eric Botcazou

Reply via email to