comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: avl tree - booch components
Date: Fri, 14 Sep 2001 10:08:04 -0400
Date: 2001-09-14T14:08:06+00:00	[thread overview]
Message-ID: <9nt306$def$1@nh.pace.co.uk> (raw)
In-Reply-To: 9nt2fq$d82$1@nh.pace.co.uk

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" <dont.bother.mcondic.auntie.spam@[acm.org> 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.
>






  reply	other threads:[~2001-09-14 14:08 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-07  8:16 avl tree - booch components Tony Gair
2001-09-07 11:47 ` Des Walker
2001-09-07 14:51   ` Simon Wright
2001-09-07 22:04     ` Ehud Lamm
2001-09-07 23:59     ` Des Walker
2001-09-08 13:58       ` Tony Gair
2001-09-09  8:49 ` Dave Parsons
2001-09-09 18:27   ` Simon Wright
2001-09-09 19:22     ` Simon Wright
2001-09-12  7:48       ` Dave Parsons
2001-09-09 21:01     ` Dave Parsons
2001-09-10  6:59     ` Dave Parsons
2001-09-26 14:00       ` Tony Gair
2001-09-10  6:59     ` Dave Parsons
2001-09-10 16:21     ` Stephen Leake
2001-09-10 19:18       ` Pascal Obry
2001-09-11  5:45         ` Simon Wright
2001-09-12  9:02           ` David C. Hoos, Sr.
2001-09-12 10:37             ` Florian Weimer
2001-09-13  5:51               ` Simon Wright
2001-09-11  5:53       ` Simon Wright
2001-09-12  9:10         ` David C. Hoos, Sr.
2001-09-12 14:42           ` Warren W. Gay VE3WWG
2001-09-13  5:57             ` Simon Wright
2001-09-13 13:49             ` Georg Bauhaus
2001-09-13 22:12               ` Jeffrey Carter
2001-09-14 13:38                 ` Warren W. Gay VE3WWG
2001-09-14 14:54                   ` Simon Wright
2001-09-14 16:47                     ` Warren W. Gay VE3WWG
2001-09-14 13:59                 ` Marin David Condic
2001-09-14 14:08                   ` Marin David Condic [this message]
2001-09-14 16:50                     ` Warren W. Gay VE3WWG
2002-02-25 14:04     ` Dave Parsons
2002-02-26  1:05       ` Matthew Heaney
2001-09-10 21:52 ` Jeffrey D. Cherry
2001-09-10 21:53 ` Jeffrey D. Cherry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox