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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d65138770e3daae3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.196.232 with SMTP id ip8mr13106442pbc.6.1340629414281; Mon, 25 Jun 2012 06:03:34 -0700 (PDT) Path: l9ni18235pbj.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Keean Schupke Newsgroups: comp.lang.ada Subject: Re: Refactoring for error: cannot inline "X" (forward instance within enclosing body) Date: Mon, 25 Jun 2012 06:03:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0fc49498-6a59-46b8-8ea2-e3e97a119ad1@googlegroups.com> References: <7a18bc7e-2541-46f9-9d92-65d87fed06e6@googlegroups.com> NNTP-Posting-Host: 91.143.78.202 Mime-Version: 1.0 X-Trace: posting.google.com 1340629414 9054 127.0.0.1 (25 Jun 2012 13:03:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 25 Jun 2012 13:03:34 +0000 (UTC) In-Reply-To: <7a18bc7e-2541-46f9-9d92-65d87fed06e6@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.143.78.202; posting-account=T5Z2vAoAAAB8ExE3yV3f56dVATtEMNcM User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-06-25T06:03:33-07:00 List-Id: On Monday, 25 June 2012 14:02:21 UTC+1, Keean Schupke wrote: > Hi, > > > I am forcing the inlining of some procedures using: > > pragma Inline_Always(X); > > and I am getting the error: > > cannot inline "X" (forward instance within enclosing body) > > Can someone explain what a forward instance is and what the enclosing body (IE the scope of the error is). > > > Regards, > Keean. Sorry, double posted this.