From ac7472adb6cc54e3b3b8098d9fb4d33b193344ca Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 18 Dec 2011 00:24:11 +0000 Subject: [PATCH] Disable yet another clang warning (-Wconversion) when WARNS <= 3. MFC after: 1 week --- share/mk/bsd.sys.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index b7f330c23f4e..d4830f115b0c 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -62,7 +62,8 @@ CWARNFLAGS += -Wno-pointer-sign . if ${CC:T:Mclang} == "clang" . if ${WARNS} <= 3 CWARNFLAGS += -Wno-tautological-compare -Wno-unused-value\ - -Wno-parentheses-equality -Wno-unused-function + -Wno-parentheses-equality -Wno-unused-function\ + -Wno-conversion . endif . if ${WARNS} <= 2 CWARNFLAGS += -Wno-switch-enum