Developer Center |
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
in Development Log, GNAT Compilation System