From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.158.31.10.MISMATCH!newsfeed-0.progon.net!progon.net!goblin2!goblin.stu.neva.ru!fi.sn.net!newsfeed2.tdcnet.fi!news.song.fi!not-for-mail Date: Thu, 17 Sep 2009 09:57:29 +0300 From: Niklas Holsti Organization: Tidorum Ltd User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Rep Specing Variant Records References: <2009091520225816807-rblove@airmailnet> <2009091621390916807-rblove@airmailnet> In-Reply-To: <2009091621390916807-rblove@airmailnet> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4ab1ddf3$0$26339$4f793bc4@news.tdc.fi> NNTP-Posting-Host: 81.17.205.61 X-Trace: 1253170675 news.tdc.fi 26339 81.17.205.61:37435 X-Complaints-To: abuse@tdcnet.fi Xref: g2news2.google.com comp.lang.ada:8357 Date: 2009-09-17T09:57:29+03:00 List-Id: 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 . @ .