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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,baa6871d466e5af9 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: AQ&S Guidance on pragma Elaborate_Body Date: 1997/04/20 Message-ID: #1/1 X-Deja-AN: 236276072 References: <528878564wnr@diphi.demon.co.uk> <5jabeq$3ltk@info4.rus.uni-stuttgart.de> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-04-20T00:00:00+00:00 List-Id: Michael Paus said <> Think carefuly here -- pragmas Pure and Preelaborate are applied to specs, and determine legality of clients, but the conditoins that need checkiong apply to bodies. Unless you want to create very peculiar dependenceis (basically a horrible dependence on all possible bodies), you do ONT NOT want the compiler to do this automatically. Furthermore, the viaiblity of Elaborate_Body cannot be checked till link time. That being said, the compiler can do FAR more to help here, and the latest version of GNAT has some extremely useful additions in this area, to be announced in detail later.