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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5894fe67040038b,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-06 13:29:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Attributes 'Version and 'Body_Version Date: Tue, 6 Nov 2001 15:58:24 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9s9iti$g$1@nh.pace.co.uk> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1005080306 16 136.170.200.133 (6 Nov 2001 20:58:26 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 6 Nov 2001 20:58:26 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:15949 Date: 2001-11-06T20:58:26+00:00 List-Id: On my way to playing around with something else, I started looking at the results of the attributes 'Version and 'Body_Version with Gnat 3.13p on WinNT. They appear to be intended for distributed systems, but could potentially be useful within any system that uses someone's library of stuff - a means of verifying that any assumed behavior from a given version is still valid. Or, for example, a means of recording the version of a package that produced some particular output so that on input, version differences can be accommodated. Looking at the strings from a particular package (a generic instantiatiation at that) I see a pair of strings that look like: "2daafe2a" (spec) "21adf138" (body) I didn't encounter anything in the ARM indicating what the format of the string should be nor did I see anything in the GNAT documents that explained how to interpret the string. Obviously, this is going to be system dependent, but if you want to do anything more than say "This version isn't the one I remember" you need to know how to interpret the string. Has anybody used this before and possibly have some insight? Thanks. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/