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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d8ff1403929a72c0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.85.8 with SMTP id d8mr1682298paz.36.1344319947784; Mon, 06 Aug 2012 23:12:27 -0700 (PDT) Path: g9ni1929pbo.0!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!ctu-peer!ctu-gate!news.nctu.edu.tw!usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: awdorrin Newsgroups: comp.lang.ada Subject: Re: Interfacing between Ada and C: records and structs Date: Thu, 2 Aug 2012 05:32:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: <76cff137-b824-428e-887a-edee8332c5f1@googlegroups.com> References: <296e271a-967b-4dfb-8dca-f278ecfae03d@googlegroups.com> <5813d3d2-8a9f-4a08-bf09-db3c62847593@googlegroups.com> <6ba3c3f2-0cb6-454e-a61d-ebdd4e51528a@googlegroups.com> NNTP-Posting-Host: 192.35.35.36 Mime-Version: 1.0 X-Trace: posting.google.com 1343910748 13989 127.0.0.1 (2 Aug 2012 12:32:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 2 Aug 2012 12:32:28 +0000 (UTC) In-Reply-To: <6ba3c3f2-0cb6-454e-a61d-ebdd4e51528a@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=192.35.35.36; posting-account=YkFdLgoAAADpWnfCBA6ZXMWTz2zHNd0j User-Agent: G2/1.0 X-Received-Bytes: 1671 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-08-02T05:32:26-07:00 List-Id: On Thursday, August 2, 2012 12:39:46 AM UTC-4, Shark8 wrote: > > Try adding Pragma Pack( DATA_STRUCTURE ); to the record. > Even with the pragma Pack, it produces the same output. I think Niklas is correct that an older version of GNAT must have treated the 'tagged null record' differently.