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.
-gnatX option, that you can pass to the compiler directly, will
activate the curated subset of extensions.
Attention: You can activate the extended set of extensions by using either
-gnatX0 command line flag, or the pragma
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.