comp.lang.ada
 help / color / mirror / Atom feed
From: Lucas Redding <lucas.redding@gmail.com>
Subject: Re: Addressing in Object Ada v/s GNAT (2013) showing Vast Differences
Date: Tue, 8 Sep 2015 01:05:01 -0700 (PDT)
Date: 2015-09-08T01:05:01-07:00	[thread overview]
Message-ID: <c32b6527-3a45-4a71-915c-92ee67ff0599@googlegroups.com> (raw)
In-Reply-To: <msm1pl$f40$1@speranza.aioe.org>

On Tuesday, September 8, 2015 at 8:12:57 AM UTC+1, Markus Schöpflin wrote:
> Well, we're using GNAT on Linux (32 & 64 Bit) and do a lot of binary record 
> layout fiddling, and never had any problems.
> 
> For example, our layout specifications (for a variant record in this case) 
> look like this:
> 
>   for RECORD_T use record at mod 2;
>     A1 at 0 range 0 .. 0;
>     A2 at 0 range 1 .. 7;
>     B  at 2 range 0 .. B_SIZE*8-1;
>     C  at 2 range 0 .. C_SIZE*8-1;
>   end record;
> 
> I guess yours are looking similar?
> 
> Markus

Yes Markus,

Ours are similar. There is no problem when using Object Ada, but we are having a problem with GNAT. The issue is that each compiler behaves differently as AMHo has pointed out.

Thanks nonetheless.

LR


  reply	other threads:[~2015-09-08  8:05 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-07 11:39 Addressing in Object Ada v/s GNAT (2013) showing Vast Differences Lucas Redding
2015-09-07 11:54 ` Lucas Redding
2015-09-07 14:04   ` G.B.
2015-09-07 16:02     ` Lucas Redding
2015-09-07 16:28       ` Anh Vo
2015-09-08  7:30         ` Lucas Redding
2015-09-08 15:11           ` Anh Vo
2015-09-08 17:20           ` Jeffrey R. Carter
2015-09-07 17:20   ` Pascal Obry
2015-09-07 17:21   ` Pascal Obry
2015-09-08  7:04     ` Lucas Redding
2015-09-07 21:02   ` Niklas Holsti
2015-09-08  8:00     ` Lucas Redding
2015-09-07 15:48 ` Jeffrey R. Carter
2015-09-08  7:27   ` Lucas Redding
2015-09-08  7:12 ` Markus Schöpflin
2015-09-08  8:05   ` Lucas Redding [this message]
2015-09-10 10:47 ` Lucas Redding
2015-09-10 12:34   ` G.B.
2015-09-21 11:12     ` Lucas Redding
2015-09-21 11:57       ` Jacob Sparre Andersen
2015-09-21 13:22         ` Lucas Redding
2015-09-21 13:47           ` Jacob Sparre Andersen
2015-09-21 13:52           ` Georg Bauhaus
2015-09-21 15:54             ` Lucas Redding
2015-09-22 17:49               ` Jacob Sparre Andersen
2015-09-22 18:45               ` Jacob Sparre Andersen
2015-10-01  6:50                 ` Lucas Redding
2015-09-21 16:48       ` Dmitry A. Kazakov
2015-10-01  7:25         ` Lucas Redding
2015-10-01 20:04           ` Randy Brukardt
replies disabled

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