[fpc-devel] Unit dependencies

Hairy Pixels genericptr at gmail.com
Wed Feb 4 15:41:34 CET 2026


 On Feb 3, 2026 at 8:05:08 PM, Sven Barth via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:

> That is how it's already supposed to work. Due to reworking in the related
> parts of the compiler that doesn't work correctly anymore and needs to be
> fixed.
> Adriaan van Os via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am
> Di., 3. Feb. 2026, 11:28:
>
>> It seems, that if I make any change in  a unit file, even if it is just a
>> comment, then the change
>> triggers a recompile of all dependent units. In theory, only a relevant
>> change of the interface ABI
>> of a unit would need to trigger a recompile of dependent units. Has this
>> ever been considered  (or
>> even implemented) ?
>>
>
>
I'm stuck on a compiler version from 2023 because of this. There were
changes recently that caused a regression in performance  but are they
going to be fixed? Last time I tried to use a new version from 12 months
ago already.

I tried to make a reproducible example but failed and gave up.  Waiting 5
seconds when changing anything was too much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20260204/bda9804d/attachment-0001.htm>


More information about the fpc-devel mailing list