From: "Peter C. Chapin" <pcc482719@gmail.com>
Subject: Re: Controlling endian-ness?
Date: Tue, 05 Aug 2008 05:59:07 -0400
Date: 2008-08-05T05:59:07-04:00 [thread overview]
Message-ID: <4898246c$0$19665$4d3efbfe@news.sover.net> (raw)
In-Reply-To: <47815ece-938e-4d19-88b3-492bc710c18b@k37g2000hsf.googlegroups.com>
christoph.grein@eurocopter.com wrote:
> I didn't spot it myself first, but it's easy:
>
>> procedure Word_Write
>> (Stream : access Root_Stream_Type'Class; Item : in Word) is
> |
>> Buffer : Stream_Element_Array(0..3);
>> Workspace : Unsigned_32 := Unsigned_32(Word); -- ERROR HERE!
> |should be Item here.
Of course! Thanks... and sorry about consuming bandwidth for something
so silly. Now I know why I usually suffix type names with "_Type". If I
had called it "Word_Type" I probably would not have made the error in
the first place. I guess that's what I get for trying to write something
quick and dirty!
Peter
next prev parent reply other threads:[~2008-08-05 9:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-05 2:16 Controlling endian-ness? Peter C. Chapin
2008-08-05 3:10 ` Steve
2008-08-05 9:59 ` Peter C. Chapin
2008-08-05 5:23 ` christoph.grein
2008-08-05 9:59 ` Peter C. Chapin [this message]
2008-08-05 14:59 ` anon
2008-08-05 22:14 ` Peter C. Chapin
2008-08-06 0:16 ` Adam Beneschan
2008-08-06 13:44 ` Peter C. Chapin
2008-08-06 17:07 ` Controlling endian-ness? (Example: Attribute Overriding) anon
2008-08-12 13:42 ` Controlling endian-ness? 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