Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/sys
Hubert Feyrer wrote:
> On Sun, 4 Jan 2004, Matthias Scheler wrote:
> > Because it is broken by design if a header file doesn't include header
> > files it requires itself. And because this is a regression. The application
>
> I'm with Matthias on this issue - IMHO every header should pull in all the
> things it needs.
And that coddles the lazy at the expense of compile time. Consider
the lexing costs for all the redundant including of required headers
which have already been included. That can amount to a measurable
difference in compile time, particularly when extended across the
entire NetBSD source tree.
If it is known what the dependency requirements are, or it can be
understood with a little bit of investigation, then we ought to
expect that those who profess to be competent at system programming
should be able to get this right. Even if headers do not do all the
work for them. The NetBSD community is competent enough to handle
the extra effort.
I really understand the convenience and sympathize with the desire,
but I am too aware of the costs involved. Sorry.
/sjd
Home |
Main Index |
Thread Index |
Old Index