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-Thread: 103376,913ffb3586d7a026 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!138.195.8.3.MISMATCH!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: What is the best method for transmitting objects/tagged records? Date: Mon, 6 Jun 2011 22:25:15 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <5e5bc0bb-8b39-4655-8c9d-f93ec24b3529@p21g2000yqh.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1307417119 3071 69.95.181.76 (7 Jun 2011 03:25:19 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 7 Jun 2011 03:25:19 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-RFC2646: Format=Flowed; Original Xref: g2news2.google.com comp.lang.ada:20638 Date: 2011-06-06T22:25:15-05:00 List-Id: "Shark8" wrote in message news:5e5bc0bb-8b39-4655-8c9d-f93ec24b3529@p21g2000yqh.googlegroups.com... >... >"(75) > S'External_Tag > > S'External_Tag denotes an external string representation for >S'Tag; it is of the predefined type String. External_Tag may be >specified for a specific tagged type via an >attribute_definition_clause; the expression of such a clause shall be >static. The default external tag representation is implementation >defined. See 3.9.2 and 13.13.2." >Per >http://www.univ-orleans.fr/mapmo/systeme/Recup/systeme/logiciels/GRASP_Documentation/ada95lrm/rm9x-13-03.html > >* I had an application that did some working on external tags to check/ >change the structure a bit; then one day I updated GNAT and, lo and >behold, everything there quit working because GNAT's external-tag >formatting had been changed. If you are depending on the format of the external tags, you surely should not be depending on the default values for external tag for those particular tags. But you can specify these youself, and if you do that compiler won't change them. Note that the text you quote says that 'External_Tag can be specified. This is exactly how you stream tagged values -- there too it is a bad idea to depend on the default external tags unless everything will always use the same compiler version everywhere. Specifying the tags is better. Randy.