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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,719ee98cf9f13dec X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: Unrecognized attribute 'ref in GNAT Date: 1999/01/12 Message-ID: <77ghml$5ju@hobbes.crc.com>#1/1 X-Deja-AN: 431905654 References: <369bb407.18423120@news.nacamar.de> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Coleman Research Corporation Newsgroups: comp.lang.ada Date: 1999-01-12T00:00:00+00:00 List-Id: Oliver Hilgendorf wrote in message <369bb407.18423120@news.nacamar.de>... >GNAT has problems with the statement > >Base_Addr : constant System.Address := System.Address'Ref >(16#A000_0000#); > > >It says that Ref is an unrecognized attribute. With a different >compiler it works just fine. > The attribute 'Ref is not defined by Ada. This looks like a VADS extension -- I've forgotten just what 'Ref means. You'll need to consult Appendix F for the "different" compiler, to understand what 'Ref means, and apply the equivalent capability of Ada95. If it's legal Ada95, GNAT will do it. David C. Hoos, Sr.