Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map
  • Development log
  • Technical papers
  • Live docs

More Resources

Recent Papers

Browse by Technology

Dev Log Archives

Developer Center

[GNAT] Friendlier elaboration order for packages

Tuesday May 2, 2006

If a package body has an initialization procedure that initializes global variables in the spec, it is still possible for elaboration code from other packages to access the uninitialized values if Elaborate_Body is not used. The elaboration order choice now tries (but cannot promise) to elaborate such bodies early enough to avoid this possibility. This goes hand in hand with the new warning (F424-009) which will warn of the missing pragmas.

 

Posted by Posted in Development Log, GNAT Compilation System