comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Seemingly wierd conversion for in out parameter
Date: 1998/02/26
Date: 1998-02-26T00:00:00+00:00	[thread overview]
Message-ID: <dewar.888520075@merv> (raw)
In-Reply-To: 34F5B4D9.6F10@gsfc.nasa.gov


<<Running this with ObjectAda 7.1 on Windows 95, we get Constraint_Error
at the call " Process(Base_Class(V1)); ", which is expected since we are
attempting to store a pointer to Der2 in a variable of type access Der1.
GNAT 3.10p on Windows 95 does not raise Constraint_Error here, so I
suspect it has a bug. What compiler are you using? please submit a bug
report!
>>

Right, of course a Constraint_Error must be raised. That is clear (the
discussion was about whether or not this program is legal, which it
definitely is!)





      reply	other threads:[~1998-02-26  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-20  0:00 Seemingly wierd conversion for in out parameter Corey Minyard
1998-02-23  0:00 ` Albert K. Lee
1998-02-23  0:00   ` Corey Minyard
1998-02-25  0:00     ` Nick Roberts
1998-02-26  0:00       ` Bernd Holzmueller
1998-02-26  0:00         ` Stephen Leake
1998-02-26  0:00           ` Robert Dewar [this message]
replies disabled

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