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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d842554064cfae31 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-11 11:28:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Non byte-aligned components in GNAT rejected Date: 11 Dec 2002 14:28:44 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <254c16a.0212111032.451cab61@posting.google.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1039635659 15448 128.183.235.92 (11 Dec 2002 19:40:59 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 11 Dec 2002 19:40:59 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:31707 Date: 2002-12-11T19:40:59+00:00 List-Id: mcq95@earthlink.net (Marc A. Criley) writes: > GNAT 3.14p on W2K is rejecting one of my rep specs, stating that "large > component must be on byte boundary". Same message from GNAT 3.15a1 on WinNT 4.0. I suspect putting characters on non-byte boundary is just not going to happen. I tried adding 'pragma Pack' to the array, and using a non-character element type for the array; no luck. > If I can't find a way to put these definition together, I'll have to shift > to an "accessor" approach where I just stuff and retrieve bits from an > undifferentiated bit buffer. I think that's what you'll have to do. Sorry :). -- -- Stephe