Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Dec 2011 18:57:43 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228867 - head/sys/conf
Message-ID:  <201112241857.pBOIvhsH025197@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Dec 24 18:57:42 2011
New Revision: 228867
URL: http://svn.freebsd.org/changeset/base/228867

Log:
  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

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Sat Dec 24 18:11:54 2011	(r228866)
+++ head/sys/conf/kern.mk	Sat Dec 24 18:57:42 2011	(r228867)
@@ -23,7 +23,8 @@ NO_WSHIFT_COUNT_OVERFLOW=	-Wno-shift-cou
 # 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
 
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112241857.pBOIvhsH025197>