cvs commit: src/sys/sys cdefs.h

Bruce Evans bde at zeta.org.au
Fri Oct 31 09:42:23 PST 2003


On Fri, 31 Oct 2003, Ruslan Ermilov wrote:

> On Sat, Nov 01, 2003 at 12:34:51AM +1100, Bruce Evans wrote:
> > The system shouldn't have to satisfy cleanness standards of applications
> > that are not maintained by FreeBSD, especially when those standards
> > are bogus (e.g., compiling cleanly with -Wundef).  Hopefull all the
> > important corner cases in the system headers are tested by buildworld
> > so that we don't need to enlist the application maintainers to find bugs
> > in system headers.
> >
> Now that buildworld and normal builds behave the same, I tend to agree.
> Count this as "no objection" to revert this.

Thanks.

I think -Wsystem-headers needs to be set even when WARNS is not set (or
is 0) for world builds to actually be the same (if toplev.c doesn't set
it by default).  Then there would be another aspect of the old problem
that bsd.*.mk aren't entirely suitable for non-FreeBSD builds.

Bruce


More information about the cvs-src mailing list