Andrew MacLeod

Andrew MacLeod's contributions

GNU C library
Article

Curing a legacy header-ache.

Andrew MacLeod

To the best of my knowledge the Gnu Compiler Collection (GCC) never enforced a formal organization for header files. They were created as desired to export elements of a source file, and over time became convenient places to put lots of miscellaneous things. No one seemed to think we needed to dictate what they should contain, nor how they should be included. For the most part it never really mattered... A source file included whatever list of headers it required...