comp.lang.ada
 help / color / mirror / Atom feed
From: robert_dewar@my-dejanews.com
Subject: Re: Are there any automatic tools to convert ada83 source into ada95?
Date: 1998/12/29
Date: 1998-12-29T00:00:00+00:00	[thread overview]
Message-ID: <769fl1$mcr$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 87vhiv3m7j.fsf@mihalis.ix.netcom.com

In article <87vhiv3m7j.fsf@mihalis.ix.netcom.com>,
  Chris Morgan <mihalis@ix.netcom.com> wrote:
> The only systematic problem was that our
> exception handlers were standardised with
>
>    ...
> when CONSTRAINT_ERROR =>
>   DO_SOMETHING;
> when NUMERIC_ERROR =>
>   DP_SOMETHING_ELSE;
>    ...
>
> which is no longer legal.


To be clear on this point, this was highly dubious code
in Ada 83, since Ada 83 compilers were allowed to raise
Constraint_Error instead of Numeric_Error in any situation.

So the above code was dubious, implementation-dependent
Ada 83 code in any case.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1998-12-29  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-28  0:00 Are there any automatic tools to convert ada83 source into ada95? changweimin
1998-12-28  0:00 ` Tucker Taft
1998-12-28  0:00   ` Chris Morgan
1998-12-29  0:00     ` robert_dewar [this message]
1998-12-29  0:00       ` Chris Morgan
1998-12-30  0:00         ` Robert A Duff
1998-12-31  0:00           ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
1998-12-28  0:00 changweimin
replies disabled

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