2.60 Pragma Extensions_Allowed

Syntax:

pragma Extensions_Allowed (On | Off);

This configuration pragma enables or disables the implementation extension mode (the use of Off as a parameter cancels the effect of the `-gnatX' command switch).

In extension mode, the latest version of the Ada language is implemented (currently Ada 2022), and in addition a number of GNAT specific extensions are recognized as follows: