9.5 Controlling the Elaboration Order in GNAT

In addition to Ada semantics and rules synthesized from them, GNAT offers three elaboration models to aid you in specifying the correct elaboration order and in diagnosing elaboration problems.

You can relax the dynamic, legacy, and static models by specifying compiler switch -gnatJ, which makes them more permissive. Note that in this mode, GNAT may not diagnose certain elaboration issues or install run-time checks.