comp.lang.ada
 help / color / mirror / Atom feed
* Help: pragma inline
@ 1997-05-20  0:00 Adrian B.Y. Hoe
  1997-05-20  0:00 ` Robert Dewar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Adrian B.Y. Hoe @ 1997-05-20  0:00 UTC (permalink / raw)



I encounter a warning when compiling the following code (fragment)
using ObjectAda 7.0.232


        ...

        function Has_Trail (T : Trail) return Boolean
        begin
           return T.Start_In;
        end Trail_Is_In;

        pragma Inline(Has_Trail);     -- Line 193

        ...


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.



--

B.Y.


lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
 Adrian, B.Y. Hoe                     byHoe@quantum.pc.my           \/
 Business Development, VP                                         \/  \/
                                                                \/  \/  \/
                                      Phone : +60 3 495 4048      \/  \/
 Lexical Integration (M) Sdn Bhd      Fax   : +60 3 495 4037        \/
 13-B Jalan Pandan Indah 4/2, Pandan Indah, 55100 Kuala Lumpur-Malaysia
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
                                          member of Team-Ada in Malaysia




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1997-05-29  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-20  0:00 Help: pragma inline Adrian B.Y. Hoe
1997-05-20  0:00 ` Robert Dewar
1997-05-21  0:00 ` Jeff Creem
1997-05-27  0:00   ` Tucker Taft
1997-05-29  0:00     ` Stephen Leake
1997-05-21  0:00 ` Kevin Krieser

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