Next: , Previous: Pragma Ada_95, Up: Implementation Defined Pragmas


Pragma Ada_05

Syntax:

     pragma Ada_05;

A configuration pragma that establishes Ada 2005 mode for the unit to which it applies, regardless of the mode set by the command line switches. This mode is set automatically for the Ada and System packages and their children, so you need not specify it in these contexts. This pragma is useful when writing a reusable component that itself uses Ada 2005 features, but which is intended to be usable from either Ada 83 or Ada 95 programs.