On 05/7/12 5:33, Mattias Gaertner wrote:
In recent Lazarus trunk revisions (running under Win 7, 32-bit) I get
CodeTools errors on units that specify unneeded units in the uses
clause (usually Classes or SysUtils).
The Messages window error message includes a negative line number
something along the lines of
unit1.pp(-1,7) Error: unit not found: Classes
Does anyone else find this?
Maybe you updated your compiler?
Have you tried Tools / Rescan FPC source directory?
Thanks for the prompt response. Indeed I had updated the compiler, and
rescanning the source directory clears the problem.
Is it possible for the code tools to be aware of an updated compiler and
warn (or automatically rescan)?
Howard
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus