On 4/5/22 2:43 PM, Robert Wing wrote:
The branch main has been updated by rew:
URL:
https://cgit.FreeBSD.org/src/commit/?id=e8e691983bb75e80153b802f47733f1531615fa2
commit e8e691983bb75e80153b802f47733f1531615fa2
Author: Robert Wing <[email protected]>
AuthorDate: 2022-04-05 21:28:54 +0000
Commit: Robert Wing <[email protected]>
CommitDate: 2022-04-05 21:34:34 +0000
suppress set but not used warnings for kernel builds
Use -Wno-unused-but-set-variable for kernel builds with clang13.
To turn this warning back on, set the following in src.conf:
WITH_SET_BUT_NOTUSED_KERNEL_WARNINGS=
Reviewed by: mjg, imp
Differential Revision: https://reviews.freebsd.org/D34784
Can you apply the same logic for GCC as well (also in kern.mk)?
--
John Baldwin