comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: GNAT 301a with Win95
Date: 1996/06/23
Date: 1996-06-23T00:00:00+00:00	[thread overview]
Message-ID: <dewar.835536365@schonberg> (raw)
In-Reply-To: c76_9606211625@mailer.castle.riga.lv

Vadim said:

"  How about -gnat83 option ?"

The -gnat83 switch does provide greater compatibility with Ada 83, for
example:

   new Ada 95 keywords not recognized
   Numeric Error distinct from Constraint_Error
   error checks for later declarations performed
   etc.

but it does not guarantee complete Ada 83 compatibility. There are some
places where obscure differences in overloading etc are simply not practical
to implement.

Also, note that type Character is always 8 bits, since this was permitted
in Ada 83 (by virtue of the Zandvort WG9 decision) in any case.

If you find cases where you think it would be helpful for the -gnat83
switch to do more, then by all means let us know, but we do not promise
to be able to fix all such cases.

We notice some people using -gnat83 routinely because they are compiling
Ada 83 code. That's probably not a good idea for two reasons:

  1. If there are incompatibilities, then they should be found earlier
	rather than later, since most code will be migrated, or at least
	partially reused, to Ada 95 contexts sooner or later.

  2. Since -gnat83 does not provide a guarantee of Ada 83 semantics, you
	are working in a somewhat ill defined semantic framework when you
	use this option.

We retain it for specialized uses, e.g. running old Ada 83 test suites,
rather than general purpose use.





  reply	other threads:[~1996-06-23  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-18  0:00 GNAT 301a with Win95 Darrin
1996-06-19  0:00 ` David Hopkins
1996-06-21  0:00   ` Robert Dewar
1996-06-19  0:00 ` Tom Griest
1996-06-20  0:00 ` Theodore E. Dennison
1996-06-21  0:00   ` Robert Dewar
1996-06-21  0:00   ` Vadim Epmak
1996-06-23  0:00     ` Robert Dewar [this message]
1996-06-24  0:00     ` Theodore E. Dennison
1996-06-25  0:00     ` Walter B. Hollman Sr.
1996-06-29  0:00 ` test name clash on unix. was: " Nasser Abbasi
1996-06-29  0:00   ` Robert Dewar
1996-06-29  0:00   ` Richard Kenner
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox