Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 2014 18:33:09 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r268882 - in stable: 10/sys/conf 9/sys/conf
Message-ID:  <201407191833.s6JIX9WR003017@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Jul 19 18:33:09 2014
New Revision: 268882
URL: http://svnweb.freebsd.org/changeset/base/268882

Log:
  MFC r268774:
  
  After r261991, clang warnings about unused functions in the kernel were
  completely silenced.  Make sure these warnings appear again, so there is
  some incentive to fix them, but do not error out the whole kernel build
  for them.
  
  Noticed by:	steven@pyro.eu.org
  PR:		191867

Modified:
  stable/10/sys/conf/kern.mk
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/9/sys/conf/kern.mk
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/10/sys/conf/kern.mk
==============================================================================
--- stable/10/sys/conf/kern.mk	Sat Jul 19 15:12:38 2014	(r268881)
+++ stable/10/sys/conf/kern.mk	Sat Jul 19 18:33:09 2014	(r268882)
@@ -29,7 +29,7 @@ NO_WSOMETIMES_UNINITIALIZED=	-Wno-error-
 # 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 \
-		-Wno-error-parentheses-equality -Wno-unused-function \
+		-Wno-error-parentheses-equality -Wno-error-unused-function \
 		${NO_WFORMAT}
 .endif
 



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