comp.lang.ada
 help / color / mirror / Atom feed
From: kenner@lab.ultra.nyu.edu (Richard Kenner)
Subject: Re: Ada95/Mil-Std-1553 Problem (Long Post - Sorry About That)
Date: 1997/01/16
Date: 1997-01-16T00:00:00+00:00	[thread overview]
Message-ID: <5bk2sj$cj4$1@news.nyu.edu> (raw)
In-Reply-To: 1997Jan14.203917.1@eisner


In article <1997Jan14.203917.1@eisner> kilgallen@eisner.decus.org (Larry Kilgallen) writes:
>In article <97011417264268@psavax.pwfl.com>, "Marin David Condic, 561.796.8997, M/S 731-93" <condicma@PWFL.COM> writes:
>
>>     Is there a way with tagged records to control the position/content
>>     of any and all tag data? (In a manner that is reasonably close to
>>     portable so that it's not dependent on, for example,

>I would think you could ensure it was at the end by using
>representation clauses for all the other elements of the records,
>essentially "filling up" the beginning so there is no space left
>for the tag data except at the end.

This isn't portable.  There's explicit implementation permission to
reserve a particular space in a record for the tag (but not for any
other internal field).  So a compiler is permitted to reject such a
rep clause (GNAT will, for example).




  reply	other threads:[~1997-01-16  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-14  0:00 Ada95/Mil-Std-1553 Problem (Long Post - Sorry About That) Marin David Condic, 561.796.8997, M/S 731-93
1997-01-15  0:00 ` Larry Kilgallen
1997-01-16  0:00   ` Richard Kenner [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-01-20  0:00 Marin David Condic, 561.796.8997, M/S 731-93
1997-01-12  0:00 Marin David Condic, 561.796.8997, M/S 731-93
1997-01-13  0:00 ` Amy Hartsough
1997-01-13  0:00 ` Michael F Brenner
1997-01-14  0:00 ` Brad Balfour
replies disabled

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