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=2.1 required=5.0 tests=BAYES_40,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5cd1cd5c3c820d2a,start X-Google-Attributes: gid103376,public From: Hans Marqvardsen Subject: Are "Pragma inline" and "is separate" compatible ? Date: 1998/12/01 Message-ID: <3663E615.2F3@ddre.dk>#1/1 X-Deja-AN: 417820174 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: DDRE Mime-Version: 1.0 Reply-To: hm@ddre.dk_nospam Newsgroups: comp.lang.ada Date: 1998-12-01T00:00:00+00:00 List-Id: I have a package PAK which contains a procedure SEP which is separate. Now I would like to inline SEP. Is that possible? Below is an example of what I want, but it does not work. (OA7 complains that the body of the subprogram is not available) package PAK is procedure SEP; pragma inline (SEP); end PAK; Package body PAK is procedure SEP is separate; end PAK; separate (PAK) procedure SEP is begin null; end; with PAK; procedure MAIN is begin PAK.SEP; end;