Mail Archives: djgpp-workers/2000/06/05/10:23:15
DJ Delorie wrote:
> DJGPP's headers are designed to minimize FAQs. Some of them were about
> having to include header X before header Y so I added some logic to each
> header to "just work" without other headers, hopefully without polluting
> the namespace.
According to ANSI/ISO 9899-1990, 7.1.2, paragraph 4:
[Standard] headers may be included in any order; each may be
included more than once in a given scope, with no effect
different from being included only once...
However, it would actually help me if DJGPP rejected code that didn't
include all the headers specified by ANSI to be necessary. I often have
problems when I give my code to colleagues, who use different compilers
and complain that I haven't included the necessary headers.
-Eric Rudd
rudd AT cyberoptics DOT com
- Raw text -