Re: unknown warning option '-Wno-unused-but-set-variable'

2021-12-19 Thread Jan Stary
The current amd64 snapshot already contains clang 13. On Dec 19 15:23:34, y...@v007.vaio.ne.jp wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > > Kernel Makefiles were adjusted to compile with clang 13. Either take > > out the warnings so you can compile with old-clang, or rebuild

Re: unknown warning option '-Wno-unused-but-set-variable'

2021-12-19 Thread Yozo TODA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > Kernel Makefiles were adjusted to compile with clang 13. Either take > out the warnings so you can compile with old-clang, or rebuild clang. I'm trying to rebuild clang now. I believe the steps are: # cd /usr/src/gnu/usr.bin/clang/ # make cle

Re: unknown warning option '-Wno-unused-but-set-variable'

2021-12-17 Thread Patrick Wildt
S=80 -D_KERNEL -MD -MP -MF assym.P > assym.h.tmp > error: unknown warning option '-Wno-unused-but-set-variable'; did you mean > '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option] > *** Error 1 in /usr/src/sys/arch/i386/compile/GENERIC (Makefile:1286

unknown warning option '-Wno-unused-but-set-variable'

2021-12-17 Thread Jan Stary
-DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6" -DX86EMU -DONEWIREVERBOSE -DMAXUSERS=80 -D_KERNEL -MD -MP -MF assym.P > assym.h.tmp error: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'?