comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Help: pragma inline
Date: 1997/05/20
Date: 1997-05-20T00:00:00+00:00	[thread overview]
Message-ID: <dewar.864184325@merv> (raw)
In-Reply-To: 3381bff2.quantum@quantum.pc.my


<<OA gives a warning message on line 193: Pragma Inline may not occur
after the subprogram body, ignoring pragma inline on this subp.

Could anyone explain more about inline and whether the warning could
affect the intention of pragma Inline?

Your help is most valuable.


Thank you in advance.>>


Most probaby OA is ignoring the pragma given the message, and certainly
it is more normal to give the pragma after the spec anyway. But any
compiler is allowed to ignore inline anyway. GNAT allows inline in
this position, but it is very unusual usage (note that a representation
pragma certainly could NOT occur here -- after the freeze point).





  reply	other threads:[~1997-05-20  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-20  0:00 Help: pragma inline Adrian B.Y. Hoe
1997-05-20  0:00 ` Robert Dewar [this message]
1997-05-21  0:00 ` Kevin Krieser
1997-05-21  0:00 ` Jeff Creem
1997-05-27  0:00   ` Tucker Taft
1997-05-29  0:00     ` Stephen Leake
replies disabled

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