[Lazarus] Large program size - 1.8 MB for empty GUI project

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Apr 9 18:04:26 CEST 2009


Mattias Gärtner schrieb:

>> As I already written some time ago, the solution is to introduce a
>> hint/warning for the circular dependencies in implementation sections.
>> This hint should probably be disabled by default, for compatibility reasons.
> 
> Yes, a hint would be nice.
> But a hint won't be enough. It would go unnoticed too easy.
> Circles should not be created accidentally, because it takes extra time to break
> them afterwards.

I'm not sure whether the compiler can determine circular references, 
without extra work.

When a circle is inevitable, the according messages must be suppressable.

When circles result from library units (LCL...), the messages are 
useless to the user, and confuing at best.

DoDi




More information about the Lazarus mailing list