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,32e730fd939a8067,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail From: invalidemail@aerojockey.com Newsgroups: comp.lang.ada Subject: changing alignment of built-in boolean Date: 14 Oct 2005 13:03:56 -0700 Organization: http://groups.google.com Message-ID: <1129320236.007525.185300@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: 65.185.27.25 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1129320241 26240 127.0.0.1 (14 Oct 2005 20:04:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 14 Oct 2005 20:04:01 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g44g2000cwa.googlegroups.com; posting-host=65.185.27.25; posting-account=ic31RQwAAADG2g1NjWUVIsXdf0Dq_CbQ Xref: g2news1.google.com comp.lang.ada:5663 Date: 2005-10-14T13:03:56-07:00 List-Id: Is it possible, in GNAT, to force the built-in Boolean type to use 4-byte (32-bit) alignment? Reason: I have to interface some Ada code to a package that insists on 32-bit variables on 4-byte-aligned addresses. Feel free to suggest some other strategy for accomplishing this, though I'd prefer not to make extensive changes to the Ada code (such as changing it to use a subtype of Boolean). I'm using GNAT 3.15p on HPUX. Thanks.