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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,af7d617cad40d0b X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: Problem with representation clause Date: 1997/12/09 Message-ID: <66je9f$q9u$1@polo.advicom.net>#1/1 X-Deja-AN: 296580435 Distribution: world References: <66gvas$pmp@remus.rutgers.edu> <348CE883.1CEC@bigfoot.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: ADViCOM -- Advanced Internet Communications Newsgroups: comp.lang.ada Date: 1997-12-09T00:00:00+00:00 List-Id: Jeff wrote in message <348CE883.1CEC@bigfoot.com>... >Fabrizio Castrotorres wrote: > You are running into an 8-bit alignment problem with your first > array declaration. The compiler is assigning each element of the > array as an 8-bit quanity. Right off hand, I cannot think of a > quick fix. If this is a hardware interface, I would redefine the > declarations to access the status 8 bits at a time. Jeff's answer is absolutely wrong: the declaration type Global_Integrity_Array_2 is array( Slot_Number, Slot_Number ) of Measurement_Status_Value; pragma Pack(Global_Integrity_Array_2); yields a size of 1152 bits.