From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,64ebc6f079364493 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-23 09:57:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Reading from a saved stream Date: 23 Jan 2002 12:49:43 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <3c4e2839.2139458@news.tc.umn.edu> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1011808441 26514 128.183.220.71 (23 Jan 2002 17:54:01 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 23 Jan 2002 17:54:01 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:19250 Date: 2002-01-23T17:54:01+00:00 List-Id: 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