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,b3d4bf1aa8fddd02 X-Google-Attributes: gid103376,public From: Gautier Subject: Re: ada2cpp Date: 2000/01/30 Message-ID: <389433CC.91DEF3C4@maths.unine.ch>#1/1 X-Deja-AN: 579466358 Content-Transfer-Encoding: 7bit References: <20000109121316.27085.00001168@ng-bg1.aol.com> <86s1sc$1ei$1@nnrp1.deja.com> <3891AD32.EA362750@maths.unine.ch> <86sn03$hmj$1@nnrp1.deja.com> <86svea$oal$1@nnrp1.deja.com> <86t492$s3i$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 30 Jan 2000 12:50:02 +0100, 130.125.13.32 MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-01-30T00:00:00+00:00 List-Id: > It is useful for some source compatability purposes. But it does *not* > put Gnat into a mode where it is an Ada83 compiler. Anyway, be reassured: the 83->95 upward compatilibility is ~99.995%. I did port a >100'000 lines program from Alsys (Ada 83) to GNAT, without ever using the -gnat83. There were +/- 5 lines to change: - a pragma Elaborate_body in 1 package - generic_elementary_functions to Ada.(the same) - a 1 place, GNAT couldn't decide between character and wide_character (a loop). That's all! For my own projects in numerics I have plenty of packages that travel from DEC Ada (83) to GNAT and vice versa without any change... -- Gautier _____\\________________\_______\ http://members.xoom.com/gdemont/