* with System still required for address clauses ?
@ 1998-08-25 0:00 Mats Weber
1998-08-25 0:00 ` Tucker Taft
0 siblings, 1 reply; 2+ messages in thread
From: Mats Weber @ 1998-08-25 0:00 UTC (permalink / raw)
if I have an address clause
for X'Address use <something>;
do I still need a with clause for System (provided, of course, that I can
write <something> without visibility on System), as was required in Ada 83, or
was this dropped in Ada 95 ? The Ada 83 rule stating this is in RM83 13.5(3).
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: with System still required for address clauses ?
1998-08-25 0:00 with System still required for address clauses ? Mats Weber
@ 1998-08-25 0:00 ` Tucker Taft
0 siblings, 0 replies; 2+ messages in thread
From: Tucker Taft @ 1998-08-25 0:00 UTC (permalink / raw)
Mats Weber (Mats.Weber@elca-matrix.ch) wrote:
: if I have an address clause
: for X'Address use <something>;
: do I still need a with clause for System (provided, of course, that I can
: write <something> without visibility on System), as was required in Ada 83, or
: was this dropped in Ada 95 ? The Ada 83 rule stating this is in RM83 13.5(3).
No, you no longer need a "with" clause on System. An implicit semantic
dependence is created on package System, even if you don't have an
explicit "with" clause for it. This is a general rule for attribute
references which have types not declared in package Standard.
See RM95 10.1.1(26).
--
-Tucker Taft stt@inmet.com http://www.inmet.com/~stt/
Intermetrics, Inc. Burlington, MA USA
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-08-25 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-25 0:00 with System still required for address clauses ? Mats Weber
1998-08-25 0:00 ` Tucker Taft
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox