From: Richard D Riehle <laoXhai@ix.netcom.com>
Subject: Re: Derivation + Access Discriminant = Headaches
Date: 1999/03/20
Date: 1999-03-19T19:02:12-06:00 [thread overview]
Message-ID: <7cus2k$d6g@dfw-ixnews12.ix.netcom.com> (raw)
In-Reply-To: m3zp591hq6.fsf@mheaney.ni.net
In article <m3zp591hq6.fsf@mheaney.ni.net>,
Matthew Heaney <matthew_heaney@acm.org> wrote:
>Richard D Riehle <laoXhai@ix.netcom.com> writes:
>
>> On GNAT, an equivalent type hierarchy works fine.
>
>Which version of GNAT are you using? On what OS? On what machine?
>
>I'm having this problem using a home-grown port of v3.11p, so it may be
>a porting problem.
Matthew,
I am using GNAT 3.11 on Windows 95 for this experiment. Notice that
my code is just a little different, but the discriminant model is
identical. Your example is distributed over three packages; Mine
is all in the same package. Yours uses limited private types and
mine uses public limited records. There may some other issue that is
causing your error. The discriminant constraints seem to work fine
in GNAT 3.11, but may have a problem with limited private -- should
not have, but nobody's perfect. :-)
Richard
next prev parent reply other threads:[~1999-03-20 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-19 0:00 Derivation + Access Discriminant = Headaches Matthew Heaney
1999-03-19 0:00 ` Richard D Riehle
1999-03-19 0:00 ` Matthew Heaney
1999-03-19 0:00 ` Stephen Leake
1999-03-20 0:00 ` Richard D Riehle [this message]
1999-03-20 0:00 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox