svn commit: r286861 - projects/clang-trunk/sys/conf

Dimitry Andric dim at FreeBSD.org
Mon Aug 17 21:07:22 UTC 2015


Author: dim
Date: Mon Aug 17 21:07:21 2015
New Revision: 286861
URL: https://svnweb.freebsd.org/changeset/base/286861

Log:
  For kernel builds, make the -Wshift-negative-value non-fatal for now.

Modified:
  projects/clang-trunk/sys/conf/kern.mk

Modified: projects/clang-trunk/sys/conf/kern.mk
==============================================================================
--- projects/clang-trunk/sys/conf/kern.mk	Mon Aug 17 19:08:48 2015	(r286860)
+++ projects/clang-trunk/sys/conf/kern.mk	Mon Aug 17 21:07:21 2015	(r286861)
@@ -30,6 +30,9 @@ NO_WCAST_QUAL=			-Wno-cast-qual
 CWARNEXTRA?=	-Wno-error-tautological-compare -Wno-error-empty-body \
 		-Wno-error-parentheses-equality -Wno-error-unused-function \
 		-Wno-error-pointer-sign
+.if ${COMPILER_VERSION} >= 30700
+CWARNEXTRA+=	-Wno-error-shift-negative-value
+.endif
 
 CLANG_NO_IAS= -no-integrated-as
 .if ${COMPILER_VERSION} < 30500


More information about the svn-src-projects mailing list