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,35af79fb6fbb1bb2 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!news.k-dsl.de!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Michael Bode Newsgroups: comp.lang.ada Subject: Re: Problem with representation clause in gnat 4.3 Date: Sat, 04 Oct 2008 14:36:23 +0200 Organization: 1&1 Internet AG Message-ID: References: NNTP-Posting-Host: p57b6182b.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: online.de 1223123793 23127 87.182.24.43 (4 Oct 2008 12:36:33 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Sat, 4 Oct 2008 12:36:33 +0000 (UTC) X-message-flag: IMPORTANT MESSAGE -- PLEASE READ IMMEDIATELY!!! X-Accepted-File-Formats: ASCII, .rtf, .ps, .pdf - *NO* MS Office files User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Xref: g2news2.google.com comp.lang.ada:7956 Date: 2008-10-04T14:36:23+02:00 List-Id: "Randy Brukardt" writes: > I can't answer the why (you'd have to ask the GNAT implementers that), but > the usual fix is to give the size of the record type: > > for Compound'Size use 80; Thanks for answering, but it doesn't work with gnat. But the other tip to use the alignment clause works.