Reducing the header maze (warning: long, unsuitable for children)

Joerg Mayer jmayer at loplof.de
Tue Dec 3 16:18:51 CST 2002


> Now, here's my question: couldn't we build a script to automatically fix 
> some of these problems?  Imagine this pseudocode as a bash script, 
> makefile, or something along those lines:
> 
> o gather and create a table of all .c -> .h and .h -> .h dependencies
> 
> o for each file:
>   o one by one, try removing each reference to a header, and see if the
>     affected units still compile.  If they all do, permanently
>     remove that reference, but remember it was there

Last step: Add everything back for systems that
are on a different os (xbsd, x86solaris, reactos)
use older/newer glibcs
whatever I've forgotten

While the idea is good, I think a few people won't be happy with the
result - and correctly so.

 Ciao
     Jörg
--
Joerg Mayer                                          <jmayer at loplof.de>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.



More information about the wine-devel mailing list