From: dewarr@my-dejanews.com
Subject: Re: Y2K Issues
Date: 1998/10/31
Date: 1998-10-31T00:00:00+00:00 [thread overview]
Message-ID: <71dott$cm0$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 71ckkt$n4a$1@nnrp1.dejanews.com
In article <71ckkt$n4a$1@nnrp1.dejanews.com>,
dennison@telepath.com wrote:
> In article <F1Lt90.HEx.0.-s@inmet.camb.inmet.com>,
> stt@houdini.camb.inmet.com (Tucker Taft) wrote:
>
> > (FWIW, from my point of view, the fact that the code for such
> > grand-children is likely to be implementation-specific doesn't seem like
> > enough of a reason to disallow them, since the whole point may be to
provide
> > a stable interface to some additional functionality via a
> > grand-child, recognizing that the implementation of the functionality may
> > need to be revised when porting to a new compiler or new release. Clearly
> > the "caveat emptor" is critical here.)
>
> It sure would have helped me a lot a few days ago if I could have made my
> package Ada.Real_Time.Float_Conversions, instead of
> Real_Time_Float_Conversions. Apparently Green Hills decided to disallow
> children of their pacakges. My implementation of this package is *still*
> dependent on their implementation of Ada.Real_Time.Time_Span. Its just that I
> was forced to do Unchecked_Conversions to accomplish it. (I feel so dirty!)
> And now when their implementation does change, I might not notice until
> runtime. If they'd let me make a child package I could have gotten a compile
> error when the implemetation changes.
You cannot count on having got a compile error if the implementation changes.
You might or might not. Just as your unchecked conversion might have got a
warning if the sizes were different (I assume your compiler provides this
important warning).
If using unchecked_conversion makes you feel dirty, then compiling
grandchildren of Ada that depend on private data structures should make
you equally queasy, if not more so!
Robert Dewar
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
next prev parent reply other threads:[~1998-10-31 0:00 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-19 0:00 Y2K Issues John J Cupak Jr
1998-10-19 0:00 ` dewar
1998-10-19 0:00 ` Tucker Taft
1998-10-19 0:00 ` Joe Gwinn
1998-10-20 0:00 ` Joe Gwinn
1998-10-19 0:00 ` Niklas Holsti
[not found] ` <362B8D2F.802F42E6@lmco.com>
1998-10-20 0:00 ` Robert I. Eachus
1998-10-22 0:00 ` Mark Bennison
1998-10-22 0:00 ` dennison
1998-10-23 0:00 ` Robert I. Eachus
1998-10-20 0:00 ` dennison
1998-10-23 0:00 ` Michael F Brenner
1998-10-25 0:00 ` Michael Feldman
1998-10-26 0:00 ` dennison
1998-10-27 0:00 ` dewarr
1998-10-27 0:00 ` Tucker Taft
1998-10-27 0:00 ` Y2K Issues (well, not really...) Dave Wood
1998-10-28 0:00 ` Y2K Issues dennison
1998-10-28 0:00 ` Dave Wood
1998-10-27 0:00 ` John Herro
1998-10-26 0:00 ` Robert A Duff
1998-10-26 0:00 ` Joel Seidman
1998-10-26 0:00 ` Y2K Issues - Warning Off-Topic Al Christians
1998-10-27 0:00 ` Y2K Issues dewarr
1998-10-27 0:00 ` dewarr
1998-10-29 0:00 ` system
1998-10-29 0:00 ` Al Christians
1998-11-02 0:00 ` Marin David Condic
1998-11-04 0:00 ` Robert I. Eachus
1998-11-05 0:00 ` dewarr
1998-11-06 0:00 ` Jerry van Dijk
1998-11-07 0:00 ` dewarr
1998-11-06 0:00 ` Al Christians
1998-11-08 0:00 ` Jerry van Dijk
1998-11-08 0:00 ` dewarr
1998-11-06 0:00 ` Robert I. Eachus
1998-10-27 0:00 ` Gautier de Montmollin
1998-10-28 0:00 ` adam
1998-10-29 0:00 ` Gautier.DeMontmollin
1998-10-28 0:00 ` dewar
1998-10-28 0:00 ` Gautier.DeMontmollin
1998-10-28 0:00 ` Jean-Pierre Rosen
1998-10-28 0:00 ` Robert I. Eachus
1998-10-29 0:00 ` Dale Stanbrough
1998-10-29 0:00 ` Mark A Biggar
1998-10-29 0:00 ` Samuel Mize
1998-10-29 0:00 ` Tucker Taft
1998-10-29 0:00 ` dewar
1998-10-29 0:00 ` Tucker Taft
1998-10-30 0:00 ` dennison
1998-10-31 0:00 ` dewarr [this message]
1998-11-02 0:00 ` dennison
1998-10-30 0:00 ` Dale Stanbrough
1998-10-30 0:00 ` Matthew Heaney
1998-10-31 0:00 ` dewar
1998-10-28 0:00 ` adam
1998-10-28 0:00 ` Al Christians
1998-10-29 0:00 ` Samuel Mize
1998-11-04 0:00 ` Robert I. Eachus
1998-10-28 0:00 ` Arthur Evans Jr
-- strict thread matches above, loose matches on Subject: below --
1998-10-23 0:00 Condic, Marin D.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox