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, MSGID_RANDY 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: Ted Dennison Subject: Re: ada2cpp Date: 2000/01/28 Message-ID: <86t492$s3i$1@nnrp1.deja.com>#1/1 X-Deja-AN: 578896681 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> X-Http-Proxy: 1.0 x34.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Jan 28 22:12:55 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-01-28T00:00:00+00:00 List-Id: In article <86svea$oal$1@nnrp1.deja.com>, David C. Hoos, Sr. wrote: > In article <86sn03$hmj$1@nnrp1.deja.com>, > Ted Dennison wrote: > > Gnat doesn't compile Ada83 code, just Ada 95. > > > Where did you ever get that idea? By reading the Gnat docs (and actually using it on a project once): > you specify this switch, GNAT rejects most Ada 95 extensions and > applies Ada 83 semantics where this can be done easily. It is not > possible to guarantee this switch does a perfect job; for example, some > subtle tests, such as are found in earlier ACVC tests (that have been > removed from the ACVC suite for Ada 95), may not compile correctly. Another way to look at it is, "Is this switch intended to allow me to compile working Ada 83 code under gnat?" Here's the answer to that: > However, for most purposes, using this switch should help to ensure > that programs that compile correctly under the -gnat83 switch can be > ported easily to an Ada 83 compiler. This is the main use of the > switch. It is useful for some source compatability purposes. But it does *not* put Gnat into a mode where it is an Ada83 compiler. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.