Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2015-05

fpc does not recompile units, even used units have changed.

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin Frb

So far I only was able to reproduce this with the attached (experimental) unit, that has many and nested generics and inlines.

Update to the latest Lazarus trunc.
Replace components\lazutils\lazlistclasses.pas with attached unit open components\lazutils\test\TestLazStorageMem.lpr

Force clean builds of the package and project

Running the test TestMemRound (ignore that it fails) will output the debugln from line 833 in LazListClasses

No comment the debugln on line 833 in LazListClasses.
   function TLazRoundBufferListMemBase.GetItemPointer(Index: Integer):
TPItemT;
   ...
   //debugln(['TLazRoundBufferListMemBase.GetItemPointer ']);

If I recompile I can see that LazListClasses is recompiled (hints are produced for the unit)
But TestLazStorageMemCase1 is not recompiled, and the debugln still in place.

Reply by email

Martin Frb
to Martin Frb
Martin Frb wrote 5 lines
If I recompile I can see that LazListClasses is recompiled (hints are produced for the unit) But TestLazStorageMemCase1 is not recompiled, and the debugln still in place.

fpc revision 30815

Reply by email