svn commit: r328816 - head/share/mk

Alex Richardson arichardson at FreeBSD.org
Fri Feb 2 22:09:37 UTC 2018


Author: arichardson
Date: Fri Feb  2 22:09:36 2018
New Revision: 328816
URL: https://svnweb.freebsd.org/changeset/base/328816

Log:
  Revert r326375 since the warning has been turned off by default in clang
  
  See https://reviews.llvm.org/D41512 and https://reviews.llvm.org/rL322901
  
  Approved By:	brooks (mentor)
  
  Differential Revision: https://reviews.freebsd.org/D14171

Modified:
  head/share/mk/bsd.sys.mk

Modified: head/share/mk/bsd.sys.mk
==============================================================================
--- head/share/mk/bsd.sys.mk	Fri Feb  2 22:08:35 2018	(r328815)
+++ head/share/mk/bsd.sys.mk	Fri Feb  2 22:09:36 2018	(r328816)
@@ -71,9 +71,6 @@ CWARNFLAGS.clang+=	-Wno-empty-body -Wno-string-plus-in
 .if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 30400
 CWARNFLAGS.clang+=	-Wno-unused-const-variable
 .endif
-.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 60000
-CWARNFLAGS.clang+=	-Wno-error=tautological-constant-compare
-.endif
 .endif # WARNS <= 6
 .if ${WARNS} <= 3
 CWARNFLAGS.clang+=	-Wno-tautological-compare -Wno-unused-value\


More information about the svn-src-all mailing list