Am 14.07.2015 20:11 schrieb "Michael Van Canneyt" <[email protected]>:
>
>
>
> On Tue, 14 Jul 2015, Maciej Izak wrote:
>
>> 2015-07-14 18:30 GMT+02:00 Maciej Izak <[email protected]>:
>>
>> execution order of initialization/finalization is not guaranteed
>>
>>
>> initialization section in LazIDEIntf was executed before initialization
in PropEdits so PropertyEditorMapperList was created twice. Sometimes
compiler can change execution order of
>> initialization/finalization section (depending on uses section).
>
>
> The uses section is the ONLY thing that determines the order.
> It's completely deterministic.
>

Deterministic yes, but not easily derivable (and also quite easy to change
by accident), because /all/ uses sections need to be taken into account.

Regards,
Sven
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to