From 8cd925d925f9debeeeb03af12feca0bb597ebca6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 24 Dec 2011 18:57:42 +0000 Subject: [PATCH] Make another clang warning, -Wparentheses-equality, non-fatal during kernel builds. All the instances of this warning in our tree are completely harmless, and many people seem to like adding extra parentheses to make precedence clearer. MFC after: 1 week --- sys/conf/kern.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index fddd8669d96..0410b244b85 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -23,7 +23,8 @@ NO_WSHIFT_COUNT_OVERFLOW= -Wno-shift-count-overflow # Several other warnings which might be useful in some cases, but not severe # enough to error out the whole kernel build. Display them anyway, so there is # some incentive to fix them eventually. -CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body +CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \ + -Wno-error-parentheses-equality .endif #