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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2203a21a136b39cc X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: Fortran's Equivalence Date: 1997/04/09 Message-ID: <334BA679.5E5D@gsfc.nasa.gov>#1/1 X-Deja-AN: 231818271 References: <333840D1.7B12@cae.ca> <3349165C.3B93@cae.ca> <1997Apr8.155111.26714@nosc.mil> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Reply-To: Stephen.Leake@gsfc.nasa.gov Newsgroups: comp.lang.ada Date: 1997-04-09T00:00:00+00:00 List-Id: Matthew Heaney wrote: > > True, "default" bit order depends on the compiler. But for a record > representation clause, Ada 95 allows the programmer to specify how to > interpret the bit order via the 'Bit_Order attribute definition clause. > > for My_Record_Type'Bit_Order use Low_Order_First; > > means that component A occupies the least significant portion of the 32 > bits of storage. See RM95 13.5.3. Unfortunately, not even gnat implements this attribute! -- - Stephe