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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,211b7e860ed3ea2d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-02-10 07:16:44 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!gw1.att.com!fnnews.fnal.gov!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.sprintlink.net!uunet!boulder!news.coop.net!news.den.mmc.com!iplmail.orl.mmc.com!usenet From: "Theodore E. Dennison" Newsgroups: comp.lang.ada Subject: Re: Problem with Address Clauses Date: 10 Feb 1995 15:16:44 GMT Organization: IPL InterNetNews site Message-ID: <3hg00s$84d@theopolis.orl.mmc.com> References: <3hdlsr$a8a@theopolis.orl.mmc.com> NNTP-Posting-Host: milkyway.orl.mmc.com Date: 1995-02-10T15:16:44+00:00 List-Id: rgilbert@orl.mmc.com (Bob Gilbert) wrote: > > I believe that I may have posted this problem to the group > some time ago, so I appologize if I'm being somewhat redundant > of if the question was answered earlier, but here goes: > > I'm using an Ada '83 compiler that appears to require a "static > expression" for the address clause. This is preventing me from .. > an unreasonable limitation of this particular compiler. Do I have > a valid gripe, or is the compiler vendor within the legal definition > of the language? Also, the vendor informs me that this problem will > still exist even with there Ada 95 offerings. Should I continue > pressing the vendor on this point? > Sounds like Alsys. :-) The LRM (13.5) specifies the part after the "at" must be a "simple expression". A static expression would certainly qualify as a simple expression, but so would a function call (LRM 4.4). I'm not sure how kosher it is to make your compiler MORE restrictive than the language specifies. Perhaps one of the compiler folk here can comment on this one. But it sounds like you have a case to me. T.E.D. dennison@orl.mmc.com