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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,30c2e19b55684b40 X-Google-Attributes: gid103376,public From: kst@thomsoft.com (Keith Thompson) Subject: Re: Anyone integrate Ada-83 with Ada-95 Date: 1996/04/04 Message-ID: #1/1 X-Deja-AN: 145704342 sender: news@thomsoft.com (USENET News Admin @flash) x-nntp-posting-host: pulsar references: organization: Thomson Software Products, San Diego, CA, USA newsgroups: comp.lang.ada originator: kst@pulsar Date: 1996-04-04T00:00:00+00:00 List-Id: In stt@henning.camb.inmet.com (Tucker Taft) writes: > Scott Moody (scott@plato.ds.boeing.com) wrote: > : Has anyone integrated Ada-83 programs with GNAT Ada-95 programs? > Ada 83 is a subset of Ada 95. So you are really asking about > integrating Ada 95 with a subset of Ada 95. There is no issue here, > unless you are concerned about style differences, perhaps. > Much of the code compiled by GNAT I am sure conforms to the > Ada 83 subset of Ada 95, since that is currently in what many of > the reusable packages are written. Ada 83 is very nearly a subset of Ada 95. There are some minor incompatibilities (for example, an Ada 83 program that uses "tagged" as an identifier is not a legal Ada 95 program), but they turn out not to be much of a problem. In fact, it's not uncommon for an entire large program written in Ada 83 to compile without error under Ada 95. What's likely to be a bigger problem is portability from one implementation to another. A program that depends on implementation-defined attributes, pragmas, library units, or even characteristics of the predefined types will require some work to port to another implementation, whether the target implementation is Ada 83 or Ada 95. You might want to just feed your existing Ada 83 code to your Ada 95 compiler and see what happens. -- Keith Thompson (The_Other_Keith) kst@thomsoft.com TeleSoft^H^H^H^H^H^H^H^H Alsys^H^H^H^H^H Thomson Software Products 10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2718 This sig uses the word "Exon" in violation of the Communications Decency Act.