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,bc385bfdaf9461e6 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: GNAT 3.03 and Address Clauses Date: 1996/04/29 Message-ID: #1/1 X-Deja-AN: 152090914 references: <31850E0F.136C@software.org> organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-04-29T00:00:00+00:00 List-Id: In article <31850E0F.136C@software.org>, Rob Pettit wrote: > Device_Data : Device_Data_Type; > Device_Address : constant System.Address > := System.Storage_Elements.To_Address(16#FFFF_0000#); > > for Device_Data'Address use Device_Address; > address_test.ads:13:32: invalid address clause for "Device_Data" > address_test.ads:13:32: must be constant defined before "Device_Data" > (RM 13.1(22)) Put Device_Address *before* Device_Data. - Bob