[Lazarus] Strange problem compiling IDE

Giuliano Colla giuliano.colla at fastwebnet.it
Tue Mar 28 12:23:05 CEST 2017


Il 26/03/2017 23:11, C Western via Lazarus ha scritto:
> Expr.pas(78,12) Fatal: Can't find unit Expr used by FormGrid

I believe that many problems of this kind could be solved at the root if 
the fpc error message was not as misleading as it is currently.

The error message lets you believe that it didn't find an Expr.pas or an 
Expr.ppu, while the actual problem was that it found an 
invalid/conflicting .ppu.

Two different messages, one telling "can't find unit xxx" and another 
telling "unit xxx invalid ppu" would save a lot of troubles and lead you 
to quickly find the reason.

Shouldn't we ask fpc to provide better error messages for this case?

Giuliano




More information about the Lazarus mailing list