* Ada83 Ada95 incompatibility with renames
@ 1996-07-10 0:00 Klaus Wyss
0 siblings, 0 replies; only message in thread
From: Klaus Wyss @ 1996-07-10 0:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-07-10 0:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-10 0:00 Ada83 Ada95 incompatibility with renames Klaus Wyss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox