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-Thread: 103376,19b0bf5b6906d2e7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Vinzent 'Gadget' Hoefler Newsgroups: comp.lang.ada Subject: Re: Using GNAT.Sockets with Streams and Byte Swapping Date: Fri, 27 May 2005 06:38:29 +0000 Message-ID: <2540410.mMz11ZQ7aF@jellix.jlfencey.com> References: <1117014486.871500.288200@g44g2000cwa.googlegroups.com> <1117099711.738704.120930@g47g2000cwa.googlegroups.com> <1117107317.975801.33390@f14g2000cwb.googlegroups.com> <87vf55ya47.fsf@deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net QrAwyK66AWHMfA2VcP32PAHdmVS2drPbIg0XyKLQD9aK1IoCwH X-Phone: +41 62 961 13 52 X-Mood: If you knew, I had to kill you. Xref: g2news1.google.com comp.lang.ada:11177 Date: 2005-05-27T06:38:29+00:00 List-Id: Florian Weimer wrote: > Mark is not using an Ada 95 compiler, it seems. It used to be more > difficult because the size of the base type determined the number of > stream elements used, and the representation clause doesn't change it. Read again. He _changed_ the size of the base type. (Universal_Integer doesn't have a fixed size, does it?) Vinzent. -- worst case: The wrong assumption there actually is one.