comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcquad@earthlink.net>
Subject: Re: stack frame too large
Date: 2000/11/12
Date: 2000-11-12T00:00:00+00:00	[thread overview]
Message-ID: <3A0E9BCC.796E9AD3@earthlink.net> (raw)
In-Reply-To: ihiP5.13$el3.60726@news.pacbell.net

Wayne Lydecker wrote:
> 
  <snip>
> 
> Thanks, that does help.  Why is there a limit on the stack frame size?
> I played with the above example some more last night and found that
> between 1,017 and 1,018 integers (<4Kb) the warning is generated.  I
> was hoping I could throw a compile, link, or run switch to bump up the
> stack frame size.
> 
> Another solution to the problem will be to use pointers.  Unfortunately,
> there are many instances of this in our code and none of them are nearly
> as simple as the above example.

After posting my earlier response, I did remember that in a few cases
we were able to use pointers.  If the data being returned by a function
was for reference purposes only, i.e., it wasn't going to be modified,
then we "aliased" the data structure and returned a pointer to it via
'Access.

Marc A. Criley
Senior Staff Engineer
Quadrus Corporation




      parent reply	other threads:[~2000-11-12  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-10  0:00 stack frame too large wayne lydecker
2000-11-11  0:00 ` David Starner
2000-11-11  0:00 ` Marc A. Criley
2000-11-11  0:00   ` Wayne Lydecker
2000-11-11  0:00     ` Jeff Creem
2000-11-12  0:00     ` Marc A. Criley [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