comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Refactoring for error: cannot inline "X" (forward instance within enclosing body)
Date: Tue, 26 Jun 2012 17:43:24 -0500
Date: 2012-06-26T17:43:24-05:00	[thread overview]
Message-ID: <jsdduf$har$1@munin.nbi.dk> (raw)
In-Reply-To: jsc3pr$iap$1@dont-email.me

"Brian Drummond" <brian@shapes.demon.co.uk> wrote in message 
news:jsc3pr$iap$1@dont-email.me...
...
> Georg points out a workaround : -gnatN performs inline expansion in the
> Gnat front end, which CAN see the package body while compiling the outer
> module. It is not clear to me : is that allowed by the LRM, or is Gnat
> being a little naughty here?

Inline_Always is a GNAT invention, so it can do what it wants. And it is 
always OK for an Ada compiler to inline (whether or not a pragma or aspect 
or command line option is given.)

                                Randy.





  reply	other threads:[~2012-06-26 22:43 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
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 [this message]
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