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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,30f8e9ec3e840189 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-14 07:19:36 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!fr.clara.net!heighliner.fr.clara.net!157.161.139.35.MISMATCH!1249607!news.imp.ch!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: avl tree - booch components Date: Fri, 14 Sep 2001 10:08:04 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9nt306$def$1@nh.pace.co.uk> References: <20010907091153.12625104.tonygair@nospam.blueyonder.co.uk> <3B9F7455.80605@home.com> <9nqdh0$938$1@a1-hrz.uni-duisburg.de> <3BA12F31.D75C1280@boeing.com> <9nt2fq$d82$1@nh.pace.co.uk> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1000476486 13775 136.170.200.133 (14 Sep 2001 14:08:06 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 14 Sep 2001 14:08:06 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:13077 Date: 2001-09-14T14:08:06+00:00 List-Id: Found something in the GNAT RM that looks like it does the job: pragma Ident Syntax: pragma Ident (static_string_EXPRESSION); This pragma provides a string identification in the generated object file, if the system supports the concept of this kind of identification string. The maximum permitted length of the string literal is 31 characters. This pragma is allowed only in the outermost declarative part or declarative items of a compilation unit. On OpenVMS systems, the effect of the pragma is identical to the effect of the DEC Ada 83 pragma of the same name. Obviously not a standard Ada pragma but if your project is strictly GNAT specific, you'd be all right using it to get appropriate strings into a binary. Perhaps there should be a mechanism in Ada0x for this purpose? 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/ "Marin David Condic" wrote in message news:9nt2fq$d82$1@nh.pace.co.uk... > I thought there was a pragma - probably GNAT specific - that let you put > strings into a binary build for identification purposes. Can't recall at the > moment what it was, but I'm pretty sure it was there. >