comp.lang.ada
 help / color / mirror / Atom feed
From: eachus@spectre.mitre.org (Robert I. Eachus)
Subject: Re: Type System.ADDRESS
Date: 3 Nov 94 10:08:41
Date: 1994-11-03T10:08:41+00:00	[thread overview]
Message-ID: <EACHUS.94Nov3100841@spectre.mitre.org> (raw)
In-Reply-To: rgilbert@orl.mmc.com's message of 31 Oct 1994 20:28:24 GMT


In article <393k18$huv@theopolis.orl.mmc.com> rgilbert@orl.mmc.com (Bob Gilbert) writes:

 > I've run across a problem and would like a little net wisdom
 > on this...

 > The compiler I'm working with has choosen to implement the type
 > System.ADDRESS as static.  Although this appears to be within 
 > the rules of the LRM, it does present some significant limitations.

  Huh?  type System.ADDRESS should always be static (although since it
is implementation defined, it doesn't need to be an integer type.

  If you mean that the address in an Address clause is required to be
static, this is wrong.  RM13.1(10) allows an implementation to limit
representation clauses "to those that can be handled simply by the
underlying hardware." However staticness is a compile-time vs.
run-time issue that has nothing to do with the actual hardware.

 > Is it reasonable for a compiler to implement System.ADDRESS as static?  
Yes. (See above.)

 > Is it reasonable for the language to allow this?
Same answer.

 > Is there a better way to work around the limitations?
Do you have a support contract with the vendor?  If so make it his
problem.


--

					Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...



  parent reply	other threads:[~1994-11-03 10:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-31 20:28 Type System.ADDRESS Bob Gilbert
1994-11-01  3:11 ` Tucker Taft
1994-11-01 13:04   ` Bob Gilbert
1994-11-01 23:04     ` Norman H. Cohen
1994-11-02  5:51     ` Tucker Taft
1994-11-02 15:45       ` Bob Gilbert
1994-11-07 11:22         ` David Emery
1994-11-03 11:27     ` David Emery
1994-11-03 11:31     ` Robert Dewar
1994-11-03 10:08 ` Robert I. Eachus [this message]
1994-11-03 11:30 ` Robert Dewar
1994-11-03 18:23   ` Bob Gilbert
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox