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,28b389d4503cb555 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: generic package dilemma Date: 1999/11/19 Message-ID: <81449o$1fh$1@nnrp1.deja.com>#1/1 X-Deja-AN: 550603751 References: <80u48b$ghr$1@bunyip.cc.uq.edu.au> <3832e27f_1@news1.prserv.net> <3832E75D.5B1BA719@mail.com> <383319e8_4@news1.prserv.net> <3833F615.5AD7166C@mail.com> <383442e1_1@news1.prserv.net> <383510EA.9DFEE8B6@mail.com> <383569db_2@news1.prserv.net> X-Http-Proxy: 1.0 x38.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Nov 19 18:18:37 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-11-19T00:00:00+00:00 List-Id: In article <383569db_2@news1.prserv.net>, "Matthew Heaney" wrote: > But you seem to advocate only a conditional application of > this guideline. When specifically do you recommend using > Elaborate_All, versus not needing to bother? It's really a rule rather than a guideline, at least for new code, although GNAT will indeed provide the necessary implicit Elaborate_All statements if you leave them out! The rule is simple, if you instantiate a generic from within elaboration code, then you must use a pragma Elaborate_All on the generic. Sent via Deja.com http://www.deja.com/ Before you buy.