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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.224.73 with SMTP id ra9mr20312144pac.9.1428586137416; Thu, 09 Apr 2015 06:28:57 -0700 (PDT) X-Received: by 10.140.101.148 with SMTP id u20mr408205qge.5.1428586137365; Thu, 09 Apr 2015 06:28:57 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!l13no3001577iga.0!news-out.google.com!k20ni72qgd.0!nntp.google.com!z60no528791qgd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 9 Apr 2015 06:28:57 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=75.99.9.146; posting-account=s89PEgoAAABHs2ETFyOrCeTQVQJAfzKq NNTP-Posting-Host: 75.99.9.146 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: GNAT "alignment value must be positive" From: marciant@earthlink.net Injection-Date: Thu, 09 Apr 2015 13:28:57 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:25489 Date: 2015-04-09T06:28:57-07:00 List-Id: On Wednesday, April 8, 2015 at 4:35:23 PM UTC-4, Randy Brukardt wrote: > ... > > I should have added that the Recommended Level of Support does seem to=20 > require supporting that (probably should have read it before pushing=20 > "send"!), so in that sense, it's a GNAT bug to not allow it. But=20 > practically, 0 and 1 are the same for a specified alignment; nothing is= =20 > going to be different about the default allocation, so it's doesn't reall= y=20 > matter. >=20 > Randy. Are you saying that it is not necessary to specify alignment zero for recor= ds that end up specifying components of enclosing records whose layout is b= eing fully "rep-spec'd" (pragma Pack is not being used?). Is it not (no longer?) necessary to ever indicate - as per Ada 95 RM 13.3 [= 14] - "zero means that the object is not necessarily aligned on a storage e= lement boundary."? Should "object" in the above really be "subtype" or obj= ect? Is it no necessary to indicate "not necessarily aligned on a storage = element boundary" for anything? I know that those are a lot of questions but I am trying to understand enou= gh to gain "full command" of this aspect of the language: I have always (at= this point about 25 years!) been very interested in hardware and communica= tion interface design in Ada.