On 22/10/2020 21:35, Pascal Riekenberg via fpc-devel wrote: > 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!
It might be caused the fix for https://bugs.freepascal.org/view.php?id=32352. Keep in mind that if there are uses-cycles via the implementation section, the initialisation order of the involved units is undefined. Jonas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel