comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: Refactoring for error: cannot inline "X" (forward instance within enclosing body)
Date: Mon, 25 Jun 2012 19:47:21 +0000 (UTC)
Date: 2012-06-25T19:47:21+00:00	[thread overview]
Message-ID: <jsaf89$9a9$1@dont-email.me> (raw)
In-Reply-To: 7a18bc7e-2541-46f9-9d92-65d87fed06e6@googlegroups.com

On Mon, 25 Jun 2012 06:02:21 -0700, 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).

Try posting a minimal compilable example that allows others to reproduce 
the problem.

- Brian



  parent reply	other threads:[~2012-06-25 19:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 13:02 Refactoring for error: cannot inline "X" (forward instance within enclosing body) Keean Schupke
2012-06-25 13:03 ` Keean Schupke
2012-06-25 19:47 ` Brian Drummond [this message]
2012-06-26  7:51   ` Keean Schupke
2012-06-26  9:49     ` Georg Bauhaus
2012-06-26 11:53       ` Keean Schupke
2012-06-26 15:42         ` Keean Schupke
2012-06-26 20:06           ` Keean Schupke
2012-06-26 10:44     ` Brian Drummond
2012-06-26 22:43       ` Randy Brukardt
2012-06-27 10:04         ` Keean Schupke
2012-06-27 17:26       ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox