comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Rep Specing Variant Records
Date: Thu, 17 Sep 2009 09:57:29 +0300
Date: 2009-09-17T09:57:29+03:00	[thread overview]
Message-ID: <4ab1ddf3$0$26339$4f793bc4@news.tdc.fi> (raw)
In-Reply-To: <2009091621390916807-rblove@airmailnet>

Robert Love wrote:
> First, thanks to all who answered my question.
> 
> My big concern about the presence of a discriminant in the derived type 
> is that I'm shipping the record out via ether net to a C client to 
> read.  The C program will not tolerate the extra discriminate.

Have you looked at pragma Unchecked_Union (B.3.3)?

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .



  reply	other threads:[~2009-09-17  6:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16  1:22 Rep Specing Variant Records R.B. Love
2009-09-16  8:19 ` Petter
2009-09-16 10:10 ` Martin
2009-09-16 15:03 ` Adam Beneschan
2009-09-17  2:39   ` Robert Love
2009-09-17  6:57     ` Niklas Holsti [this message]
2009-09-17  8:25     ` Martin
2009-09-18  2:28       ` Robert Love
2009-10-10  2:49   ` 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