Next: Character Set Control, Previous: Using gcc for Semantic Checking, Up: Switches for gcc
With few exceptions (most notably the need to use <>
on
unconstrained generic formal parameters, the use of the new Ada 95
reserved words, and the use of packages
with optional bodies), it is not necessary to use the
-gnat83 switch when compiling Ada 83 programs, because, with rare
exceptions, Ada 95 is upwardly compatible with Ada 83. This
means that a correct Ada 83 program is usually also a correct Ada 95
program.
For further information, please refer to Compatibility and Porting Guide.