From: Duncan Sands <baldrick@free.fr>
To: "Alex Xela" <xela2@free.fr>, comp.lang.ada@ada-france.org
Subject: Re: using 'storage_size ?
Date: Sun, 12 Oct 2003 20:23:21 +0200
Date: 2003-10-12T20:23:21+02:00 [thread overview]
Message-ID: <mailman.71.1065982897.25614.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <3f896135$0$10405$626a54ce@news.free.fr>
> Yes, but why does it work when the line 20 is commented?
> It is also working (with or without line 20) with the Aonix compiler
> ObjectAda.
If you don't have line 20, standard storage will be used i.e. the heap.
This can handle much bigger sizes than the stack. I guess ObjectAda
is not trying to allocate the storage pool on the stack (which sounds
very sensible of them). I agree it is strange that the compiler does
this - and in fact maybe it doesn't, I'm only guessing it does.
Duncan.
next prev parent reply other threads:[~2003-10-12 18:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-12 7:37 using 'storage_size ? Alex Xela
2003-10-12 12:34 ` Duncan Sands
2003-10-12 14:12 ` Alex Xela
2003-10-12 18:23 ` Duncan Sands [this message]
2003-10-12 23:24 ` Robert I. Eachus
2003-10-13 18:20 ` Alex Xela
2003-10-13 18:53 ` Robert I. Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox