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=0.2 required=5.0 tests=BAYES_00,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,ca7dab63411d8e64,start X-Google-Attributes: gid103376,public From: Klaus Wyss Subject: Ada83 Ada95 incompatibility with renames Date: 1996/07/10 Message-ID: <31E3D922.45C9@ubs.com>#1/1 X-Deja-AN: 167613465 content-type: text/plain; charset=us-ascii organization: Union Bank of Switzerland mime-version: 1.0 reply-to: klaus.wyss@ubs.com newsgroups: comp.lang.ada x-mailer: Mozilla 3.0b5aGold (WinNT; I) Date: 1996-07-10T00:00:00+00:00 List-Id: 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