From: Colin_Paul_Gloster@ACM.org (Colin Paul Gloster)
Subject: Re: Null Record is not always Null
Date: 10 Oct 2002 14:16:51 GMT
Date: 2002-10-10T14:16:51+00:00 [thread overview]
Message-ID: <slrnaqb2uj.of3.Colin_Paul_Gloster@camac.dcu.ie> (raw)
In-Reply-To: 1b585154.0210100512.54af8543@posting.google.com
Peter Richtmyer posted different behavior on three compilers and said:
"Don't know if there is a "right" result, or is this one of
those gray areas. Anybody?"
Well, though 13.12 re pragmas has:
"[..]
An implementation may place limitations on the values of the expression
that are supported, and limitations on the supported combinations of
restrictions. The
consequences of violating such limitations are implementation defined.
[..]",
a pragma should never stop a compilation.
As for the rest, clearly you were given suboptimal results for your
possibly wacky null record but compilers are allowed to ignore your
requests:
"[..]
[..] A representation or operational item that is not supported by the
implementation is illegal, [..]
[..]
An implementation may interpret aspects of representation in an
implementation-defined manner. An implementation may place
implementation-defined restrictions
on representation items. [..]" (13.1).
In 13.3 is "nonnegative" chosen to denote >0 or >=0?
"[..]
Size may be specified for stand-alone objects via an
attribute_definition_clause; the expression of such a clause shall be
static and its value nonnegative.
[..]"
next prev parent reply other threads:[~2002-10-10 14:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-10 13:12 Null Record is not always Null Peter Richtmyer
2002-10-10 14:16 ` Colin Paul Gloster [this message]
2002-10-10 15:44 ` Robert A Duff
2002-10-10 16:44 ` Colin Paul Gloster
2002-10-10 17:28 ` Robert A Duff
2002-10-22 19:00 ` Randy Brukardt
2002-10-10 15:38 ` Robert A Duff
2002-10-11 1:39 ` Peter Richtmyer
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox