From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: De-serializing and stack sizes
Date: Mon, 04 Sep 2006 15:45:12 +0200
Date: 2006-09-04T15:45:12+02:00 [thread overview]
Message-ID: <4m2oueF484mkU2@individual.net> (raw)
In-Reply-To: m2wt8mh8nb.fsf@grendel.local
Simon Wright wrote:
> "Alex R. Mosteo" <devnull@mailinator.com> writes:
>
>> Item : constant Item_Access := new Item_Type'(Item_Type'Input (Stream));
>>
>> The 'Input attribute is trying to return the object in the stack and
>> so it doesn't work. My items are around 20 MB in size (now, they
>> could grow bigger) and I'd like not to have to raise my stack to
>> these sizes (also making it doable from the environment task would
>> be a plus).
>
> Could you maybe override Item_Access'Input? (or even 'Read? I came
> across a GNAT bug a while back, possibly 3.16, where default 'Input
> didn't use overridden 'Read if the type was private ..)
Yep, I can't think of anything better. Thanks for your comments,
A. Mosteo.
prev parent reply other threads:[~2006-09-04 13:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-01 17:57 De-serializing and stack sizes Alex R. Mosteo
2006-09-02 8:14 ` Dmitry A. Kazakov
2006-09-04 13:44 ` Alex R. Mosteo
2006-09-02 10:20 ` Simon Wright
2006-09-04 13:45 ` Alex R. Mosteo [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox