comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Reading from a saved stream
Date: 23 Jan 2002 12:49:43 -0500
Date: 2002-01-23T17:54:01+00:00	[thread overview]
Message-ID: <u1yghkle0.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 3c4e2839.2139458@news.tc.umn.edu

puk @ umn._edu_ (Paul Pukite) writes:

> Is the attached pattern legal & portable Ada? I believe
> so but a compiler upgrade from Rational Apex 3.0.0b
> to Rational Apex 4.0.0b resulted in the following
> questionable output for the Stream_Save main procedure:
> 
> Received Move Command with Speed = 259
> Speed should be = 999
> 

gnat 3.14a1 under Windows NT gives:

Received Move Command with Speed = 999
Speed should be = 999

Which is what you were expecting?

Looks like a compiler bug to me.

Did you try it without the dispatching? Maybe it is just a stream
problem.

You should submit a support request to Rational, whether this is legal
Ada 95 or not. It's their job to help you use their tool to get your
job done, not just to make their compiler match the Ada spec. And if
they _don't_ agree that is their job, change support vendors!

-- 
-- Stephe



  reply	other threads:[~2002-01-23 17:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23  4:10 Reading from a saved stream Paul Pukite
2002-01-23 17:49 ` Stephen Leake [this message]
2002-01-24  6:03 ` Greg Bek
replies disabled

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