comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Attributes 'Version and 'Body_Version
Date: 7 Nov 2001 13:54:20 -0600
Date: 2001-11-07T13:54:20-06:00	[thread overview]
Message-ID: <bgYJjEmY5R3$@eisner.encompasserve.org> (raw)
In-Reply-To: 9sboee$42f$1@nh.pace.co.uk

In article <9sboee$42f$1@nh.pace.co.uk>, "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org> writes:

> It might not hurt for Ada0x to insist that Something'Version and
> Something'Body_Version yield a string that is increasing in sort order with
> each change. That at least would let you do "<" and ">" comparisons and know
> you are still portable.

At first glance this sounds like VMS shareable image matching
controls that are done manually, where numeric comparisons are
possible.  But the Ada feature seems to require something like
VMS shareable image matching controls that are done automatically,
and necessarily allows only equality comparisons.  I will not be
available to code the fully automatic relationship-comparing
version until I finish the required preliminary work on the
DWIM subprogram :-).

=======

Consider:

Something'*Version is required by the standard to change anytime
there is a change in a compilation unit referred to by Something.

So presume one changes both SubOne and SubTwo and then recompiles
Something.  Say the compiler takes the next logical sort ordered
value.

Then what happens if one rolls back SubTwo to what it used to be,
but retains the changed version of SubOne ?  The result we have is
_logically_ between the original and the first modification, but that might
be hard to achieve in the sort order.  Or what if we make _another_
version that has the original version of SubOne but retains the
change to SubTwo ?  How does the value of _that_ string relate
to the value of the one whose context is vice versa ?



  parent reply	other threads:[~2001-11-07 19:54 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06 20:58 Attributes 'Version and 'Body_Version Marin David Condic
2001-11-07  3:39 ` Robert Dewar
2001-11-07 15:08   ` Marin David Condic
2001-11-07 20:51   ` Tony Gair
2001-11-07 16:45     ` Marin David Condic
2001-11-07 18:32       ` Vincent Marciante
2001-11-07 19:00         ` Marin David Condic
2001-11-07 23:11           ` Robert Dewar
2001-11-08 17:28             ` Stephen Leake
2001-11-08 17:43               ` Larry Kilgallen
2001-11-08 19:03                 ` Marin David Condic
2001-11-08 19:37                   ` Larry Kilgallen
2001-11-09  3:50                   ` Robert Dewar
2001-11-09  3:55                   ` Robert Dewar
2001-11-08 18:55             ` Marin David Condic
2001-11-07 19:54       ` Larry Kilgallen [this message]
2001-11-07 21:49         ` Marin David Condic
2001-11-07 23:08     ` Robert Dewar
2001-11-07 22:04 ` Keith Thompson
2001-11-08 16:34   ` Frank
2001-11-09  3:53   ` Robert Dewar
2001-11-10  0:07     ` Keith Thompson
2001-11-10  2:16       ` Larry Kilgallen
2001-11-11 15:18         ` Marin David Condic
2001-11-12 23:06           ` Tony Gair
2001-11-12 21:51       ` Robert Dewar
2001-11-13  8:07         ` Keith Thompson
2001-11-25 20:49           ` Nick Roberts
2001-11-26  2:30             ` Robert Dewar
2001-11-26  3:31               ` Nick Roberts
2001-11-26 15:42                 ` Robert Dewar
2001-11-26 20:05                   ` Nick Roberts
2001-11-27  3:56                     ` Robert Dewar
2001-11-27 17:51                       ` Nick Roberts
2001-11-28  0:44                       ` Larry Kilgallen
2001-11-28 15:49                         ` Robert Dewar
2001-11-28 16:53                         ` Larry Kilgallen
     [not found]                         ` <5ee5b646.0111280749.77fabe6c@posting.google.coOrganization: LJK Software <PFcoNrf74AeG@eisner.encompasserve.org>
2001-11-29  3:49                           ` Robert Dewar
2001-11-29 11:52                           ` Larry Kilgallen
     [not found]                           ` <5ee5b646.0111Organization: LJK Software <Kg7U2sTGDFyI@eisner.encompasserve.org>
2001-11-30  2:26                             ` Robert Dewar
2001-11-30  2:55                               ` Larry Kilgallen
2001-11-27 17:04                     ` Georg Bauhaus
replies disabled

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