From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9eb88bb80477ed08 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 03 Jun 2005 20:44:12 -0500 Date: Fri, 03 Jun 2005 21:44:29 -0400 From: Jeff C User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ADA compilers/ difference between 83 and 95 - The answer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 24.147.74.171 X-Trace: sv3-aj9W7Aew/rvUyZtV/VmHzLDjO1085qh78JsjWKoXuBfJa56EA/cN9bLStmytwvPoJFsYoJM/C3rNkWi!ktrpPSFDOj69C5eLqsqW7MpYr8gGtcucZ7YFdZXpvxFzonbmgoHsYMa3HbEfug== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:11231 Date: 2005-06-03T21:44:29-04:00 List-Id: 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