comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Addressing in Object Ada v/s GNAT (2013) showing Vast Differences
Date: Thu, 1 Oct 2015 15:04:38 -0500
Date: 2015-10-01T15:04:38-05:00	[thread overview]
Message-ID: <muk3kn$3rm$1@loke.gir.dk> (raw)
In-Reply-To: 9aa08966-6072-4d35-9089-d404a5ff1a43@googlegroups.com

"Lucas Redding" <lucas.redding@gmail.com> wrote in message 
news:9aa08966-6072-4d35-9089-d404a5ff1a43@googlegroups.com...
>On Monday, September 21, 2015 at 5:49:02 PM UTC+1, Dmitry A. Kazakov wrote:
>> On Mon, 21 Sep 2015 04:12:44 -0700 (PDT), Lucas Redding wrote:
>>
>> > In fact I am stumbling on portability of the rep clauses.
>>
>> Which is an oxymoron. Representation clauses are meant to make the code
>> non-portable.
>...
>Thanks for pointing that out Dimitri
>
>Come to think of it you are right.
>
>However it depends what and where you want to port.

Exactly.

>In my case I wish to port the same application and same data to a different 
>compiler.
> In this case the rep clause is essential for the port. So like life 
> itself, it is only
> meaningful if within context.

Different compiler on the same target, you mean (the last part is critical). 
We used rep clauses to increase portability between Ada compilers with Claw, 
because they eliminated the differences between the compilers and ensure 
that the types actually match the Windows API.

Of course, those rep clauses aren't useful on some other target (even 64-bit 
Windows would be an issue in some cases). But then again, neither is Claw. 
:-)

                                    Randy.



      reply	other threads:[~2015-10-01 20:04 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
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 [this message]
replies disabled

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