comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT Ada.Streams Bug?
Date: 27 Nov 2004 17:25:40 +0000
Date: 2004-11-27T17:25:40+00:00	[thread overview]
Message-ID: <x7vy8gnw6ej.fsf@smaug.pushface.org> (raw)
In-Reply-To: Pn0qd.16373$14.12905@read1.cgocable.net

"Warren W. Gay VE3WWG" <ve3wwg@NoSpam.cogeco.ca> writes:

> Simon Wright wrote:

> > 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).
> 
> I suppose I have always considered everything to be a multiple of
> Stream_Element'Size anyway. But you are right in that you could have
> types in odd bitwise sizes. My expectations were set lower than
> yours ;-)

Someone decided that all ethernet messages in our system should have a
header so he could debug at the network level, then decided to squash
all the bits in as tightly as possible so (I suppose) as to save
space. Even more fun when you need XDR versions .. not expectations so
much as bitter experience.

-- 
Simon Wright                               100% Ada, no bugs.



      reply	other threads:[~2004-11-27 17:25 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
2004-11-27 14:42       ` Warren W. Gay VE3WWG
2004-11-27 17:25         ` Simon Wright [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