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,e95fcc887df56a56,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.227.67 with SMTP id ry3mr9386622pbc.8.1340629302122; Mon, 25 Jun 2012 06:01:42 -0700 (PDT) Path: l9ni18235pbj.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: keean.schupke@googlemail.com Newsgroups: comp.lang.ada Subject: How to refactor for error: cannot inline "X" (forward instance within enclosing body) Date: Mon, 25 Jun 2012 05:46:54 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7ccadd61-5f41-40ec-8cab-a5e6bfb7b31f@googlegroups.com> NNTP-Posting-Host: 91.143.78.202 Mime-Version: 1.0 X-Trace: posting.google.com 1340629301 7765 127.0.0.1 (25 Jun 2012 13:01:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 25 Jun 2012 13:01:41 +0000 (UTC) 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-25T05:46:54-07:00 List-Id: Hi, How do I refactor my code to avoid the following error: cannot inline "X" (forward instance within enclosing body) I get the above error when trying to force inlining using "pragma Inline_Always(X)", and want to understand how I can get the inlining to work. What am I doing to trigger the above error? Regards, Keean.