comp.lang.ada
 help / color / mirror / Atom feed
From: Jeff C <jcreem@yahoo.com>
Subject: Re: ADA compilers/ difference between 83 and 95 - The answer
Date: Fri, 03 Jun 2005 21:44:29 -0400
Date: 2005-06-03T21:44:29-04:00	[thread overview]
Message-ID: <f7SdnQo_G6LxmjzfRVn-vg@comcast.com> (raw)
In-Reply-To: <mailman.3.1117830786.17633.comp.lang.ada@ada-france.org>

Chris Albertson wrote:
> Sorry aout the last message hadno text. Here is is again
> 
> 
> I'm curious, will ada83 programs not compile under ada95?
> 

Some programs or packages from Ada 83 will indeed not compile but again 
it is generally no more of a problem than switching compiler vendors.

See this link:

http://www.adaic.org/learn/tech/8395comp.html

Summary. Along with my experience

a) A few new reserved words. (Never ran into this one)
b) New form required for indefinitite generic parameters (I hit this once)
c) Packages can not  have a body if their spec does not require it (I 
hit this once. It was always a bad idea by the way_
d) Character now has 256 items instead of 128 (never hurt by this one)
e) Numeric_Error no longer unique. Now renames of constraint error 
(Never hurt by this one)

That is all the site listed. I believe I ran into an additional problem 
with an attribute that was renamed/removed on floats ('small?) which is 
not listed on that link.

Other issues you will run into (that will happen regardless of the Ada 
83 v.s. Ada 95 thing)

1) Use of vendor supplied packagages - Can be a big deal.
2) Use of vendor specific attributes or pragmas  - can be a moderate deal
3) Different level of support for rep-specs - can be a big deal
4) Different approach for supporting package Machine_Code insertions
5) Code that relies on buggy behavior of the old compiler






  parent reply	other threads:[~2005-06-04  1:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050603202720.13734.qmail@web32807.mail.mud.yahoo.com>
2005-06-03 20:32 ` ADA compilers/ difference between 83 and 95 Chris Albertson
2005-06-04  0:10   ` Keith Thompson
2005-06-04  1:44   ` Jeff C [this message]
2005-06-04  8:38     ` ADA compilers/ difference between 83 and 95 - The answer Pascal Obry
2005-06-04  5:34   ` ADA compilers/ difference between 83 and 95 Jeffrey Carter
2005-06-06 12:24   ` Marin David Condic
replies disabled

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