[Lazarus] Identifier not found, but code completion works....
Florian Klaempfl
florian at freepascal.org
Mon Feb 21 11:15:04 CET 2011
Am 21.02.2011 10:30, schrieb Alexander Klenin:
> On Mon, Feb 21, 2011 at 18:05, Florian Klaempfl <florian at freepascal.org> wrote:
>>
>> Well, he got it wrong :) It is exactly the point of putting units in the
>> interface uses clause: the compiler helps you to avoid circular unit
>> dependencies. When you put them in the implementation clause, you just
>> hide them, they are still here but the compiler does not complain as
>> long as you don't hit its flawed unit loading algorithm.
>>
>
> So, Florian, how about adding a compiler hint or warning for circular
> dependencies?
I'am not sure if the compiler somewhere gets this information
explicitly. As said, the design of the unit loading is fundamentally flawed.
More information about the Lazarus
mailing list