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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ac2397ce800de518 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-04 08:33:24 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <20010904115244.24236db3.tonygair@blueyonder.co.uk> Subject: Re: adasockets and adatypes Message-ID: <1v6l7.3307$4z.6132@www.newsranger.com> X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Tue, 04 Sep 2001 11:33:17 EDT Organization: http://www.newsranger.com Date: Tue, 04 Sep 2001 15:33:17 GMT Xref: archiver1.google.com comp.lang.ada:12702 Date: 2001-09-04T15:33:17+00:00 List-Id: In article , David C. Hoos says... >This is simply not so. If the record component types have user-defined >endianness-independent stream attributes, then the data will have the How does one do this for language-defined types? Every Ada compiler I've tried it on (including gnat 3.13p just now) only allows one to redefine the IO attributes in the same declaration section in which the type is declared. If you only have 2 implementations to get talking, it is fairly easy to massage one end until it talks like the other. That isn't the same thing as true portability. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com