12.01.2019, 19:44, "Benito van der Zander" <ben...@benibela.de>:
Hi,
something that appears to help is to put units in the interface uses rather than the implementation uses.
When the unit mentioned in the interface uses, uses the first unit in its implementation uses, it can inline the functions from the first unit. Although I would have expected it to do the opposite.Unfortunately that does not help if the second unit needs to use types from the first unit in its interface
Best,
Benito
Yes, I got it.
The problem is that circular dependencies are too often happen in practice.
The discussion is about how to make compiler inline function automatically even when circular dependencies exist.
--
Regards,
Regards,
Denis Golovan
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal