From: byhoe@greenlime.com (Adrian Hoe)
Subject: Re: How to convert record?
Date: 31 Oct 2001 18:13:14 -0800
Date: 2001-11-01T02:13:14+00:00 [thread overview]
Message-ID: <9ff447f2.0110311813.4bf57352@posting.google.com> (raw)
In-Reply-To: mailman.1004557367.26087.comp.lang.ada@ada.eu.org
"Beard, Frank" <beardf@spawar.navy.mil> wrote in message news:<mailman.1004557367.26087.comp.lang.ada@ada.eu.org>...
> -----Original Message-----
> From: byhoe@greenlime.com [mailto:byhoe@greenlime.com]
>
> > You are wrong. Try compile the following example and you will get 14
> > and 16 for each.
>
> I'm not wrong. Your posts on this thread said nothing about requiring
> it to be 11 bytes. You were asking how to convert it to a POSIX IO_Buffer.
You are wrong in another way. :) Joseph asked to convert it to POSIX
IO_Buffer, not me, Adrian!
> What I was saying is, if ALL YOU WANT TO DO is send and receive it across
> homogeneous platforms then you don't need to worry about the size. Let
> the system, via 'size of the object, do it for you. The compiler will
> do what is more efficient for it's processing. There's no reason to
> work against it unless you have to.
>
> If you are sending it to a device that requires it to be 11 bytes, then
> that's a different issue. And of course a rep spec and pragma pack are
> going to make a difference in the size, but that wasn't the issue either.
>
> Your thread on "Size and pack" only led me to believe you expected 11
> bytes, but got 14. NOT that it HAD to be 11. Expecting one thing and
> getting something else does not imply a requirement.
>
> So, which is it? Does it have to be 11, or are you just sending it to
> an equivalent peer system.
OK. My apologies to the wrong pointing. It's my fault but I knew
Joseph is working on a similar project like mine (we are colleagues :)
and my instinct immediately jumped to the conclusion without
thoroughly going through your post properly. Hey.. Take it easy, I am
not written in Ada! :,)
next prev parent reply other threads:[~2001-11-01 2:13 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-31 19:40 How to convert record? Beard, Frank
2001-11-01 2:13 ` Adrian Hoe [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-30 19:05 Beard, Frank
2001-10-31 4:10 ` Adrian Hoe
2001-10-29 18:16 Beard, Frank
2001-10-30 1:17 ` Adrian Hoe
2001-10-21 9:56 Joseph Kwan
2001-10-22 11:30 ` John McCabe
2001-10-25 11:40 ` Joseph Kwan
2001-10-25 12:38 ` sk
2001-10-25 17:12 ` Jeffrey L. Susanj
2001-10-25 12:48 ` David C. Hoos
2001-10-29 1:42 ` Joseph Kwan
2001-10-29 13:35 ` Marc A. Criley
2001-10-25 12:48 ` Marc A. Criley
2001-10-25 12:54 ` sk
2001-10-25 15:41 ` Ted Dennison
2001-10-26 3:21 ` Smark
2001-10-26 5:45 ` James Rogers
2001-10-26 17:46 ` Smark
2001-10-26 14:30 ` Ted Dennison
2001-10-26 17:42 ` Smark
2001-10-26 20:02 ` Ted Dennison
2001-10-26 23:10 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox