[fpc-devel] Patches

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Sep 30 21:17:33 CEST 2010

Jonas Maebe schrieb:

>> That, it turned out that ppudump wasn't as independent as had been 
>> thought?
> The compiler doesn't think, it just gives an error when a unit is not 
> found.

Consequently the compiler can not know about the reasons of such 
dependencies, and can not be used to judge what's the cause and what's 
only symptoms of the disease.

> Hans-Peter tried putting global variables from all over the compiler 
> into a single unit, so it's logical that this makes everything dependent 
> on everything (because that single globals unit has to import type 
> definitions from all over the compiler).

You know that this is *not* true :-(

My last attempt, to move all *remaining* global variables into dedicated 
units (with/out cg dependences), only was an intermediate solution, in 
order to just figure out these dependencies. Once all evitable global 
variables have been elimited, there remains nothing that could introduce 
unwanted dependencies.


More information about the fpc-devel mailing list