Re: Extremely long build times



Lucian Radulescu wrote:

Units should not mutually use each other. I.e. A uses B and B uses
A. That only works if one of them uses the other in the
implementation section only.

Right ... and once you have the compiler complaining about that, you
know you're in deep s*t and have to do some redesigning (or resigning
:-), which you prefer).

Supposedly this big project succesfully compiled with earlier Delphi
editions. I would think if it can't compile now ...
blame the compiler ??

Perhaps. After D6, the compiler has become a lot stricter on certain
issues. Things that would go unnoticed in D5 would be noticed in, say,
D7. I can't say that that is always a bad thing. Recursive use of units
is a problem for the compiler.

IOW, that something compiles does not mean it is good. <g>
--
Rudy Velthuis [TeamB] http://rvelthuis.de

"A model is done when nothing else can be taken out." -- Dyson
.



Relevant Pages