[Lazarus] Identifier not found, but code completion works....
Alexander Klenin
klenin at gmail.com
Tue Feb 22 01:33:55 CET 2011
On Tue, Feb 22, 2011 at 09:58, Hans-Peter Diettrich
<DrDiettrich1 at aol.com> wrote:
> Alexander Klenin schrieb:
>
>> So, Florian, how about adding a compiler hint or warning for circular
>> dependencies?
>
> Circular unit references occur in most real-life code, so that according
> hints are quite useless.
So do, e. g. unused paramaters. This is why I proposed a hint, not an error.
That said, I really believe that any circular unit dependency is a (design) bug.
> If ever, such a feature should at least allow to
> suppress warnings about well known and unbreakable loops.
Sure. I have even suggested the warning to be disabled by default.
Anyway, it seems that there is no chance of this happening in FPC.
Maybe if you at last create your own fork ;-)
--
Alexander S. Klenin
More information about the Lazarus
mailing list