On Tue, Feb 7, 2023, 5:20 PM Mateusz Guzik <mjgu...@gmail.com> wrote:
> ... then a lot of the code ends up being compiled twice for no good reason. > > This popped up again as clang 15 emits a ton of warnings vs K&R funcs. > > I don't know how this works internally, is it really a big problem to sort > out? > I figured config(8) could generate a bunch of WITHOUT_ of similar, but I > guess > sys/modules/Makefile will have to be patched to support it, which it > only does for some modules at the moment. > > I don't have any interest in working on it, so just bringing this up > for interested. > Yea... it's on the list that config.ng would do... At one point modules and kernel .o files were built differently which precluded a number of Makefile hacks. Warner Warner >