aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2021-08-27 21:39:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2021-08-31 19:05:47 +0000
commite9dbd59b309fea6e49776843b1f023108de594e8 (patch)
treeef432e7b908918c7bebc7263c3039d9396da65b7
parentef314cd4bae273be01eb45bae3af63680e65465c (diff)
downloadsrc-e9dbd59b309fea6e49776843b1f023108de594e8.tar.gz
src-e9dbd59b309fea6e49776843b1f023108de594e8.zip
Silence more gtest warnings, now in fusefs tests
Follow-up d396c67f26b0 by also silencing warnings about deprecated implicit copy constructors in the fusefs tests, which use googletest. Fixes: d396c67f26b0 (cherry picked from commit 5a3a8cb01ab8ef4aa16a1950b1ef804070ce1ac6)
-rw-r--r--tests/sys/fs/fusefs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sys/fs/fusefs/Makefile b/tests/sys/fs/fusefs/Makefile
index 832b30dc6911..c3706e940840 100644
--- a/tests/sys/fs/fusefs/Makefile
+++ b/tests/sys/fs/fusefs/Makefile
@@ -77,6 +77,8 @@ CXXWARNFLAGS.readdir.cc+= -Wno-cast-align
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 80000
CXXWARNFLAGS+= -Wno-class-memaccess
.endif
+# Supress warnings about deprecated implicit copy constructors in gtest.
+CXXWARNFLAGS+= -Wno-deprecated-copy
CXXFLAGS+= -I${SRCTOP}/tests
CXXFLAGS+= -I${FUSEFS}
CXXFLAGS+= -I${MOUNT}