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


2.106 Pragma No_Elaboration_Code_All

Syntax:

    pragma No_Elaboration_Code_All [(program_unit_NAME)];

This is a program unit pragma (there is also an equivalent aspect of the same name) that establishes the restriction No_Elaboration_Code for the current unit and any extended main source units (body and subunits. It also has has the effect of enforcing a transitive application of this aspect, so that if any unit is implicitly or explicitly WITH'ed by the current unit, it must also have the No_Elaboration_Code_All aspect set. It may be applied to package or subprogram specs or their generic versions.