From: Klaus Wyss <klaus.wyss@ubs.com>
Subject: Ada83 Ada95 incompatibility with renames
Date: 1996/07/10
Date: 1996-07-10T00:00:00+00:00 [thread overview]
Message-ID: <31E3D922.45C9@ubs.com> (raw)
I tried to compile our old Ada83 sources with GNAT (on windows NT).
I get an error with the following construct
generic
package X is
task Y is
entry Z;
end Y;
procedure Z renames X.Z;
end X;
package body X is
task body Y is
begin
accept Z;
end Y;
end X;
this compiles fine on Ada83 (DEC Ada, Rational VADS) but not on GNAT.
If i move the rename to the body it compiles on GNAT but not on Ada83.
Is that a bug or an incompatibility ??
Klaus Wyss
Union Bank of Switzerland
reply other threads:[~1996-07-10 0:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox