Attempt to recompile PPU due to false positive that checksum has changed
FPC[git main] & FPC[3.2.2]
The compiler thinks that the checksum has changed, even though nothing has changed
Related to #41272 (closed)
I will not post the source code of the modules in the text because it has not changed from what is in the related issue.
But the approach to compilation has changed, here it is:\
fpc.exe -B -FElib -Fusrc app.pasfpc.exe -FElib app.pas
Output:
PPU Loading lib\mseapplication.ppu
PPU Source: mseapplication.pas not found
Recompiling mseapplication, checksum changed for lib\mseclasses.ppu
Fatal: Can't find unit mseapplication used by mseclasses
I am also attaching the source code and compilation script in an archive for convenience:
FPC_PPU_Checksum.zip
Edited by alligator