|
|
|
|
|
by luriel
5301 days ago
|
|
> If you can find me one C project out there which has headers with zero #includes and forces each compilation unit including the header to include all the prerequisites needed for that header I would be genuinely interested. A whole OS does this: Plan 9 from Bell Labs :) For details see the paper by Rob Pike: How to Use the Plan 9 C Compiler http://doc.cat-v.org/plan_9/4th_edition/papers/comp Also the Plan 9 libraries are much cleaner and leaner than those in 'modern' *nix systems, which makes keeping track of includes much easier: http://man.cat-v.org/plan_9/2/intro |
|