From: Georg Bauhaus <bauhaus@futureapps.invalid>
Subject: Re: Addressing in Object Ada v/s GNAT (2013) showing Vast Differences
Date: Mon, 21 Sep 2015 15:52:04 +0200
Date: 2015-09-21T15:52:04+02:00 [thread overview]
Message-ID: <mtp1ul$rqq$1@dont-email.me> (raw)
In-Reply-To: <2c064071-2e40-4267-81f6-3196d7ae35ab@googlegroups.com>
On 21.09.15 15:22, Lucas Redding wrote:
> On Monday, September 21, 2015 at 12:57:09 PM UTC+1, Jacob Sparre Andersen wrote:
>> Lucas Redding wrote:
>>
>> Your examples don't compile. Please show us the actual code.
>>
>> Greetings,
>>
>> Jacob
>> --
>> "Very small. Go to sleep" - monster (not drooling)
>
> Hi Jacob
>
> thanks for that. I am avoiding having to flood this with tons of code. So here is a compiled example.
>
> package interface_p
> is
(...)
> end INTERFACE_P ;
>
Is this happening only when you read from the shared location?
I see the output
local a: 1, local b: 2
from the following program, compiled using GNAT GPL 2014 on a Mac:
With Ada.Text_IO;
with INTERFACE_P; use INTERFACE_P;
procedure Test_Interface_P
is
It : local_rec;
begin
It := READ_RECORD;
declare
use Ada;
package Xintio is new Text_IO.Integer_IO (sixteen_bits);
begin
Text_Io.Put ("local a:"); Xintio.Put (It.a);
Text_Io.Put (", local b:"); Xintio.Put (It.b);
Text_Io.New_Line;
end;
end Test_Interface_P;
next prev parent reply other threads:[~2015-09-21 13:52 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
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 [this message]
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