[Lazarus] Identifier not found, but code completion works....
Alexander Klenin
klenin at gmail.com
Mon Feb 21 10:30:36 CET 2011
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?
Maybe off by default, to avoid compatibility issues?
I would definitely use such a hint in all my projects.
--
Alexander S. Klenin
More information about the Lazarus
mailing list