mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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
This commit is contained in:
parent
138952cfc7
commit
875b18b520
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328816
|
@ -71,9 +71,6 @@ CWARNFLAGS.clang+= -Wno-empty-body -Wno-string-plus-int
|
|||
.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\
|
||||
|
|
Loading…
Reference in a new issue