From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT Ada.Streams Bug?
Date: 26 Nov 2004 22:47:34 +0000
Date: 2004-11-26T22:47:34+00:00 [thread overview]
Message-ID: <x7v4qjc5it5.fsf@smaug.pushface.org> (raw)
In-Reply-To: z0ypd.16283$14.192@read1.cgocable.net
"Warren W. Gay VE3WWG" <ve3wwg@NoSpam.cogeco.ca> writes:
> I am not concerned at all about the efficiency of this case, as you
> read the partition 4 times at boot time (less if you have fewer
> disks). I know however, that you were stating the more general
> case.
>
> It is disappointing to learn that basically Ada95 is "portability
> busted" when it comes to Ada.Streams. As Randy (I think) mentioned
> in the AI link, it is very difficult to adapt a stream to external
> formats - more impossible to be compiler independent at the same
> time. Since I am trying to interface a stream to the boot sector,
> this becomes a real problem that I'll have to "work around".
So the AI lets you make the streaming portable provided that
everything is a multiple of Stream_Element'Size (and, I guess, all the
participants are of the same endianness).
If those conditions are met, you have what looks like a more
convenient way of expressing representations. Otherwise, it'll have to
be the hard way .. I must say it wouldn't have occurred to me to
expect a Stream to meet your requirements. But we progress by meeting
needs, and someone has to express them!
--
Simon Wright 100% Ada, no bugs.
next prev parent reply other threads:[~2004-11-26 22:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-25 17:41 GNAT Ada.Streams Bug? Warren W. Gay VE3WWG
2004-11-25 19:40 ` Jeff C r e e.m
2004-11-26 4:11 ` Warren W. Gay VE3WWG
2004-11-26 9:49 ` Georg Bauhaus
2004-11-26 17:30 ` Warren W. Gay VE3WWG
2004-11-27 7:34 ` Martin Krischik
2004-11-28 1:10 ` Warren W. Gay VE3WWG
2004-11-29 7:50 ` tmoran
2004-11-29 17:47 ` Warren W. Gay VE3WWG
2004-11-26 22:47 ` Simon Wright [this message]
2004-11-27 14:42 ` Warren W. Gay VE3WWG
2004-11-27 17:25 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox