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,d17561d7e5eba62c X-Google-Attributes: gid103376,public From: Simon Wright Subject: Re: An alternative to Unchecked Conversion Date: 1999/12/20 Message-ID: #1/1 X-Deja-AN: 563801723 X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 References: <38596575_4@news1.prserv.net> <3859701a@rsl2.rslnet.net> X-Trace: news.demon.co.uk 945871106 nnrp-02:24793 NO-IDENT pogner.demon.co.uk:158.152.70.98 Organization: At Home Newsgroups: comp.lang.ada X-Complaints-To: abuse@demon.net Date: 1999-12-20T00:00:00+00:00 List-Id: Brian Orpin writes: > On 17 Dec 1999 22:13:05 +0000, Simon Wright > wrote: [...] > > X : TEST_TYPE; > > Y : TEST_TYPE; > > Y_Address : constant Address := Y'Address; > > For X'Address Use Y_Address; > > Tried this and got > > 9| Y_ADDR : Constant ADDRESS := Y'Address; > test.ada:10:1: > 10| For X'Address Use Y_ADDR; > ^1 > *** 1 Error 3208: This length representation clause does not specify a > legal > *** attribute (RM83 13.2 (3)) Does using the 'use at' construct help anyway?