From: Hans Marqvardsen <hm@ddre.dk>
Subject: Are "Pragma inline" and "is separate" compatible ?
Date: 1998/12/01
Date: 1998-12-01T00:00:00+00:00 [thread overview]
Message-ID: <3663E615.2F3@ddre.dk> (raw)
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;
next reply other threads:[~1998-12-01 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-01 0:00 Hans Marqvardsen [this message]
1998-12-02 0:00 ` Are "Pragma inline" and "is separate" compatible ? Stuart Palin
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox