2011/9/1 John Baldwin <jhb@freebsd.org>:
> In general we force the relevant C files to use opt_*.h includes and avoid
> nested includes of those in headers.
With this approach I can't trust that this feature will do the right
thing. I would rather modify pmap.h by hand than run the unnecessary
risk.
> Do you know of any C files that do
> are using NKPT (or values derived from it) without including opt_pmap.h?
Many. To obtain a full list, I suggest you put something like:
#ifdef NKPT
#warning nkpt:good
#else
#warning nkpt:bad
#endif
in pmap.h and build with "WERROR="
--
Robert Millan
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"