On Fri, Jul 15, 2011, OpenBSD wrote:
> Hi tech@
> 
> While trying to build a kernel with option DEBUG, I came across the
> following errors:

0.  I don't think DEBUG is a particularly useful option.  Are you really
trying to debug "the kernel"?  Not a part of it?

1.  To that end, I think most code should (and does) use XXX_DEBUG
instead.

2.  libz is assuming DEBUG means something it doesn't.  A better fix
would be to change all DEBUG to Z_DEBUG or something.  It still won't
work in the kernel, but at least it won't get caught up in whatever
DEBUG in the kernel means.

3.  Everything else using DEBUG probably wants to be converted to a
specific macro as well.

Reply via email to