comp.lang.ada
 help / color / mirror / Atom feed
From: david.c.hoos.sr@ada95.com (David C. Hoos, Sr.)
Subject: Re: Aggregate assignment problem with gnat under irix
Date: 1996/06/02
Date: 1996-06-02T00:00:00+00:00	[thread overview]
Message-ID: <4orssa$1ou@polo.iquest.com> (raw)
In-Reply-To: Pine.SGI.3.93.960531171236.29298A-100000@einstein.ph.utexas.edu


Ullar Kask <ullar@einstein.ph.utexas.edu> wrote:

>Hello,

>  I am doing numerical simulations using Ada and encoutered a problem with
>aggregate assignment. The same type of statement, viz.,
.
.
.

>Has the STORAGE_ERROR raised in the task body (under irix) something to do
>with the size of the task stack? How it happens that such an aggregate
>assignment is possible outside a task body but fails inside?

Yes, I believe it does.  I don't know what the default task stack size
is for gnat, but on other compilers I have used it is as low as 10Kb.

The solution is to use the pragma Storage_Size (<integer-expression>)
inside the task declaration.

David C. Hoos, Sr.
http://www.ada95.com
http://www.dbhwww.com






  reply	other threads:[~1996-06-02  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-31  0:00 Aggregate assignment problem with gnat under irix Ullar Kask
1996-06-02  0:00 ` David C. Hoos, Sr. [this message]
1996-06-02  0:00   ` Vance Christiaanse
1996-06-02  0:00 ` Vance Christiaanse
1996-06-03  0:00   ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox