comp.lang.ada
 help / color / mirror / Atom feed
From: Keean Schupke <keean.schupke@googlemail.com>
Subject: Re: Refactoring for error: cannot inline "X" (forward instance within enclosing body)
Date: Wed, 27 Jun 2012 03:04:42 -0700 (PDT)
Date: 2012-06-27T03:04:42-07:00	[thread overview]
Message-ID: <0b5eba49-bdbb-499a-b48f-f89fd56f237d@googlegroups.com> (raw)
In-Reply-To: <jsdduf$har$1@munin.nbi.dk>

On Tuesday, 26 June 2012 23:43:24 UTC+1, Randy Brukardt  wrote:
> "Brian Drummond" 
>  wrote in message 
> ...
> > 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.


Is this something that should be considered a limitation, or bug in GNAT?


Cheers,
Keean.



  reply	other threads:[~2012-06-27 10:04 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
2012-06-27 10:04         ` Keean Schupke [this message]
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