comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: ada2cpp
Date: 2000/01/28
Date: 2000-01-28T00:00:00+00:00	[thread overview]
Message-ID: <86t492$s3i$1@nnrp1.deja.com> (raw)
In-Reply-To: 86svea$oal$1@nnrp1.deja.com

In article <86svea$oal$1@nnrp1.deja.com>,
  David C. Hoos, Sr. <david.c.hoos.sr@ada95.com> wrote:
> In article <86sn03$hmj$1@nnrp1.deja.com>,
>   Ted Dennison <dennison@telepath.com> 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.




  reply	other threads:[~2000-01-28  0:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-09  0:00 Ada2C++ BRETTSYS1
2000-01-09  0:00 ` Ada2C++ Brian Rogoff
2000-01-10  0:00   ` Ada2C++ Ross
2000-01-10  0:00     ` Ada2C++ Jeff Carter
2000-01-10  0:00 ` Ada2C++ Tucker Taft
2000-02-01  0:00   ` Ada2C++ jedilowe
2000-02-01  0:00     ` Ada2C++ David Starner
2000-02-01  0:00       ` Ada2C++ Richard D Riehle
2000-02-02  0:00         ` Ada2C++ jedilowe
2000-01-14  0:00 ` Ada2C++ Frode Tenneboe
2000-01-14  0:00   ` Ada2C++ E. Robert Tisdale
2000-01-18  0:00     ` Ada2C++ Frode Tenneboe
2000-01-18  0:00     ` Ada2C++ Charles Hixson
2000-01-28  0:00 ` ada2cpp denizbey
2000-01-28  0:00   ` ada2cpp Ted Dennison
2000-01-28  0:00   ` ada2cpp Pat Rogers
2000-01-28  0:00     ` ada2cpp Richard D Riehle
2000-01-28  0:00   ` ada2cpp Gautier
2000-01-28  0:00     ` ada2cpp Ted Dennison
2000-01-28  0:00       ` ada2cpp David
2000-01-28  0:00         ` Ted Dennison [this message]
2000-01-30  0:00           ` ada2cpp Gautier
2000-01-28  0:00     ` ada2cpp Marin D. 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