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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9bf8bfc34e223b4d X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: Re: GNAT controlled types Date: 1998/01/26 Message-ID: <01bd2a9d$2ec16420$34fe82c1@xhv46.dial.pipex.com>#1/1 X-Deja-AN: 319450274 Content-Transfer-Encoding: 7bit References: Content-Type: text/plain; charset=ISO-8859-1 Organization: UUNet UK server (post doesn't reflect views of UUNet UK) Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-01-26T00:00:00+00:00 List-Id: But why does the declaration have to be at the library level? Is this a rule of Ada, or something specific to GNAT? -- Nick Roberts Croydon, UK Proprietor, ThoughtWing Software; Independent Software Development Consultant * Nick.Roberts@dial.pipex.com * Voicemail & Fax +44 181-405 1124 * *** Always game for a verbal joust (usually as the turkey) *** Robert A Duff wrote in article ... > In article , > Haug Buerger wrote: > >...What is > >meant with library level? > > Basically, it means not nested inside any subprograms. > > In your example, you must move the instantiation of t out to such a > place -- you could make the instantiation a library unit, or you could > put it inside a library package.