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,7345e706c651a1a3 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: pragma Pack does not work on GNAT 5.01a for Redhat Linux. References: <1182259013.590515.118310@g4g2000hsf.googlegroups.com> In-Reply-To: <1182259013.590515.118310@g4g2000hsf.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1182269808 12.201.97.213 (Tue, 19 Jun 2007 16:16:48 GMT) NNTP-Posting-Date: Tue, 19 Jun 2007 16:16:48 GMT Organization: AT&T ASP.att.net Date: Tue, 19 Jun 2007 16:16:48 GMT Xref: g2news1.google.com comp.lang.ada:16241 Date: 2007-06-19T16:16:48+00:00 List-Id: petter_fryklund@hotmail.com wrote: > The Size of the following record is 112 on Linux, but 104 on Solaris. > > type Something is record > A : Packed_16; > B : Packed_8; > C : Packed_8; > D : Packed_8; > E : Packed_32; > F : Packed_32; > end record; > pragma Pack (Something); What happens if you add for Something'Size use 104; ? -- Jeff Carter "Alms for an ex-leper!" Monty Python's Life of Brian 75