From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7f8b2fd444c211b5,start X-Google-Attributes: gid103376,public From: "Adrian B.Y. Hoe" Subject: Help: pragma inline Date: 1997/05/20 Message-ID: <3381bff2.quantum@quantum.pc.my>#1/1 X-Deja-AN: 242642780 Sender: Ada programming language Organization: Lexical Integration (M) Sdn Bhd Comments: To: owner-intel-objectada@aonix.com Newsgroups: comp.lang.ada Date: 1997-05-20T00:00:00+00:00 List-Id: 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