[Lazarus] contnrs.ppu - Invalid Version 112

Marco van de Voort marcov at stack.nl
Tue Jan 19 21:55:28 CET 2010


On Tue, Jan 19, 2010 at 02:50:17PM +0100, Kjow wrote:
> 2010/1/19 Paul Ishenin <webpirat at mail.ru>:
> > Yes, I increased ppu version because of change in the compiler I made. I
> > have no idea what is wrong in the script - it looks ok. Try to remove all
> > the ppu files manually.
> 
> Ok, so you are suggesting me to delete all 2206 *.ppu in fpc 2.51 dir/subdir?
> It is advisable to do every time before to recompile?

This happens only once or twice an year. I manually kill the fpc\$FPCVERSION\units\
dir if I notice it.

A different reason to do the same is strange errors like linker errors, or
wanting to recompile.

This can happen because an unit switched dirs, and the old version is no
longer overwritten, and found by the compiler first. Killing the units dir
and install the snapshot overnew solves that too.







More information about the Lazarus mailing list