[fpc-devel] initialization order of units

Pascal Riekenberg pascal at riekenberg.eu
Thu Oct 22 21:35:19 CEST 2020


Have there been any changes to the initialization order of units in the last 6 month?
I have a complex project with multiple units with initialization section. And now
one of those units does not get initialized before it is used by the initialization part of
an other unit. This worked at the beginning of the year!

I tried to move this unit up in all units where it is used. Without luck!
It's the first unit after Forms in the program.

Any hints?

fpc version: trunk

Pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20201022/00356ab9/attachment.htm>


More information about the fpc-devel mailing list