comp.lang.ada
 help / color / mirror / Atom feed
From: awdorrin <awdorrin@gmail.com>
Subject: Re: Interfacing between Ada and C: records and structs
Date: Thu, 2 Aug 2012 05:32:26 -0700 (PDT)
Date: 2012-08-02T05:32:26-07:00	[thread overview]
Message-ID: <76cff137-b824-428e-887a-edee8332c5f1@googlegroups.com> (raw)
In-Reply-To: <6ba3c3f2-0cb6-454e-a61d-ebdd4e51528a@googlegroups.com>

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.



  reply	other threads:[~2012-08-07  6:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-31 16:38 Interfacing between Ada and C: records and structs awdorrin
2012-07-31 17:16 ` Niklas Holsti
2012-07-31 18:44   ` awdorrin
2012-07-31 19:08     ` awdorrin
2012-07-31 19:27       ` Simon Wright
2012-07-31 19:44         ` awdorrin
2012-07-31 20:46           ` Niklas Holsti
2012-08-01 12:16             ` awdorrin
2012-07-31 19:23     ` Simon Wright
2012-08-02  4:39     ` Shark8
2012-08-02 12:32       ` awdorrin [this message]
     [not found] <7beb59ba-ca6f-476e-8b39-604196b0b79f@googlegroups.com>
2012-08-01  2:51 ` Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox