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,XPRIO autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!gegeweb.org!news.ecp.fr!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: GNAT "alignment value must be positive" Date: Wed, 8 Apr 2015 15:35:22 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: NNTP-Posting-Host: rrsoftware.com X-Trace: loke.gir.dk 1428525322 29542 24.196.82.226 (8 Apr 2015 20:35:22 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Wed, 8 Apr 2015 20:35:22 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: news.eternal-september.org comp.lang.ada:25474 Date: 2015-04-08T15:35:22-05:00 List-Id: I said: ... > 0 is defined as a possible alignment so that the alignment of a bit-mapped > component is meaningful (we can't have 'Alignment not meaning anything). > But I don't know of any reason to specify the alignment as zero, > everything is always byte allocated by default. There might be some > machine on which it makes sense to not byte align by default, but I > haven't encountered it to date. I should have added that the Recommended Level of Support does seem to require supporting that (probably should have read it before pushing "send"!), so in that sense, it's a GNAT bug to not allow it. But practically, 0 and 1 are the same for a specified alignment; nothing is going to be different about the default allocation, so it's doesn't really matter. Randy.