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.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4682ba5f8a536e4b X-Google-Attributes: gid103376,public From: Steve Quinlan Subject: Re: Imported deferred constant with an address clause legal? Date: 1999/02/19 Message-ID: <36CDFBB2.853482C@lmco.com>#1/1 X-Deja-AN: 446249624 Content-Transfer-Encoding: 7bit References: <36CC51E0.CAA17FB@praxis-cs.co.uk> Content-Type: text/plain; charset=us-ascii Organization: Lockheed-Martin Air Traffic Management Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-02-19T00:00:00+00:00 List-Id: I'm not a language lawyer, more like a language paralegal, but I don't think this will work. If you use Pragma Import, an object of that name will be expected to get resolved at link time. I think it is even illegal to have an address clause for an imported object, because the address is supposed to be determined at link time when the object is resolved. Your first method seems more appropriate when you want to force a representation at a particular memory location, vs. trying to get access to a foreight data object which has been defined in some external object module.