[Lazarus] Identifier not found, but code completion works....

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Feb 22 00:31:14 CET 2011


Graeme Geldenhuys schrieb:

> Contrary to Mattias statement - this reduces circular unit references in
> my case/applications. I could never understand how Mattias thinks otherwise.

Mattias obviously separates allowed (effective) circular unit references 
from disallowed (interface) references. Problems only can arise from 
allowed references, the disallowed ones just don't compile and need no 
further considerations.

Sadly it's true that FPC has problems with re-using units, a few weeks 
ago I still had to patch the compiler for properly retrieving already 
compiled units, so that loops can be detected and broken up when an 
already compiled (and cached) unit is used again. But I don't think that 
it matters whether a unit is re-used in the interface or implementation 
section, since both cases are handled in the same code.

DoDi





More information about the Lazarus mailing list