From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,da126037e6b18fc5 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: GNAT: storage error and tasks Date: 2000/02/05 Message-ID: <87i4b1$it8$1@nnrp1.deja.com>#1/1 X-Deja-AN: 582016696 References: <86mjv3$24b$1@nnrp1.deja.com> <86n1ae$bc8$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x30.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sat Feb 05 21:22:45 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-02-05T00:00:00+00:00 List-Id: In article <86n1ae$bc8$1@nnrp1.deja.com>, Ted Dennison wrote: > The way to get around this problem is to create a task type > for your task, and perform a > for My_Task_Type'Storage_Size use XXXXXX; This is improper advice, since the feature referenced above is in annex J, which means that there is a preferred way of doing things. Never recommend the use of Annex J features for new code! use the Storage_Size pragma instead, since it is far more flexible (allowing different instances of a task type to have different sizes, something that is impossible with the obsolete form). Sent via Deja.com http://www.deja.com/ Before you buy.