17.1 How to activate the extended GNAT Ada superset

There are two ways to activate the extended GNAT Ada superset:

pragma Extensions_Allowed (On)

As a configuration pragma, you can either put it at the beginning of a source file, or in a .adc file corresponding to your project.

Attention: You can activate the extended set of extensions by using either the -gnatX0 command line flag, or the pragma Extensions_Allowed with All as an argument. However, it is not recommended you use this subset for serious projects, and is only means as a playground/technology preview.