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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5ae752c88e0dde5e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.k-dsl.de!aioe.org!not-for-mail From: =?iso-8859-15?Q?Yannick_Duch=EAne_=28Hibou57=29?= Newsgroups: comp.lang.ada Subject: Re: Using representation clauses in networking software Date: Sun, 15 Aug 2010 17:30:29 +0200 Organization: Ada At Home Message-ID: References: <8739ugqfeb.fsf@mid.deneb.enyo.de> <43fkp7an4c5m$.3db3n6adym42.dlg@40tude.net> NNTP-Posting-Host: lii8bauySSx0YHeDgKSgMg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.61 (Win32) Xref: g2news1.google.com comp.lang.ada:13340 Date: 2010-08-15T17:30:29+02:00 List-Id: Le Sun, 15 Aug 2010 16:32:47 +0200, Dmitry A. Kazakov = a =E9crit: > Byte ordering is what S'Bit_Ordering is, when bytes are addressable. Do you mean when byte and bit are the same ? I am sure to understand Or else may be I should go back and read again the 'Bit_Order attribute = = specification. >> Just to try to meet your request (something else later) : I do not kn= ow = >> a >> way to have a method which would automatically know the bit order of = its >> platform, > > Bit order is useless if bits are not directly addressable. I wrote bit ordered where I meant byte ordering (clumsy mistake of mine)= -- = There is even better than a pragma Assert: a SPARK --# check. --# check C and WhoKnowWhat and YouKnowWho; --# assert Ada; -- i.e. forget about previous premises which leads to conclusion -- and start with new conclusion as premise.