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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,febd9e55846c9556 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-03 09:51:32 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!enst.fr!not-for-mail From: Lionel.DRAGHI@fr.thalesgroup.com Newsgroups: comp.lang.ada Subject: RE: Endianness independance Date: Mon, 3 Mar 2003 18:52:17 +0100 Organization: ENST, France Message-ID: Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: avanie.enst.fr 1046713890 24868 137.194.161.2 (3 Mar 2003 17:51:30 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 3 Mar 2003 17:51:30 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Mailer: Internet Mail Service (5.5.2653.19) X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:34830 Date: 2003-03-03T18:52:17+01:00 | -----Message d'origine----- | De: Stephen Leake [mailto:Stephen.A.Leake@nasa.gov] ... | It is not possible to get compatible stream representations via | representation clauses. | | You must override 'Write and 'Read to get that. | | The reason is that representation clauses can't swap bytes within | scalars (integers and floats), as is required by endian-independant | stream representations. | This is what i called the "easy" part of the job. But, obviously i suppose the compiler will do the job. If i must override Stream attributes, i won't consider it so easy :-) I can't believe it's impossible, after all, this is actually done by Glade, isn't it? Lionel Draghi.