comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Using the GNAT defined attribute: 'Enum_Rep
Date: 1997/09/11
Date: 1997-09-11T00:00:00+00:00	[thread overview]
Message-ID: <dewar.873981179@merv> (raw)
In-Reply-To: 3415BF12.22A5@pseserv3.fw.hac.com


Wes

<<So if you know your code won't be used under Ada-83, you can depend
on the default.>>

The comment about Ada 83 here is redundant except for academic language
lawyer purposes. All Ada 83 compilers ever written (and all those that
you can imagine being written), of course default to the standard
representation. The Ada 95 rule is merely stating an obvious, but
not explicitly stated, requirement.

Note carefully that in the case of enumeration representation types
declared in predefined units, you cannot count on any default
representation, since conceptually (and perhaps actually), there
may be enumeration representation clauses in private parts. One
would for example, not be at all surprised to see variations in
some cases of predefined enumeration types.





  reply	other threads:[~1997-09-11  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-09  0:00 Using the GNAT defined attribute: 'Enum_Rep Marin David Condic, 561.796.8997, M/S 731-96
1997-09-09  0:00 ` W. Wesley Groleau x4923
1997-09-11  0:00   ` Robert Dewar [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-09-09  0:00 Marin David Condic, 561.796.8997, M/S 731-96
1997-09-09  0:00 ` Robert A Duff
1997-08-27  0:00 Marin David Condic, 561.796.8997, M/S 731-96
1997-09-03  0:00 ` W. Wesley Groleau x4923
1997-09-06  0:00   ` Robert Dewar
1997-09-08  0:00     ` W. Wesley Groleau x4923
1997-09-08  0:00       ` Matthew Heaney
1997-09-08  0:00     ` Robert A Duff
1997-09-08  0:00   ` Robert A Duff
1997-09-08  0:00     ` W. Wesley Groleau x4923
1997-09-08  0:00       ` Matthew Heaney
1997-09-09  0:00         ` Robert A Duff
1997-09-11  0:00           ` Robert Dewar
1997-09-08  0:00 ` Robert A Duff
replies disabled

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