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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,691503f3d2c9213d X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Question about circular elaboration order error (GNAT). Date: Mon, 14 Apr 2008 13:52:59 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <48024d11$0$19786$4d3efbfe@news.sover.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1208195580 27728 192.74.137.71 (14 Apr 2008 17:53:00 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 14 Apr 2008 17:53:00 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:B+m4SZmMwo2hkasfEIA7uoVFUIM= Xref: g2news1.google.com comp.lang.ada:20941 Date: 2008-04-14T13:52:59-04:00 List-Id: "Jeffrey R. Carter" writes: > Peter C. Chapin wrote: >> package Parent is >> -- Needed so this package requires/allows a body. >> procedure Dummy; >> end Parent; > > Not related to your question, but perhaps of interest to you: Dummy is > not needed so the pkg allows a body. Pragma Elaborate_Body is a better > way to achieve that: It's better in many cases, but in this particular case, it would make the program illegal. ;-) > package Parent is > pragma Elaborate_Body; > end Parent; - Bob