git: 5a3a8cb01ab8 - main - Silence more gtest warnings, now in fusefs tests
Dimitry Andric
dim at FreeBSD.org
Fri Aug 27 21:40:13 UTC 2021
The branch main has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=5a3a8cb01ab8ef4aa16a1950b1ef804070ce1ac6
commit 5a3a8cb01ab8ef4aa16a1950b1ef804070ce1ac6
Author: Dimitry Andric <dim at FreeBSD.org>
AuthorDate: 2021-08-27 21:39:23 +0000
Commit: Dimitry Andric <dim at FreeBSD.org>
CommitDate: 2021-08-27 21:39:36 +0000
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
MFC after: 3 days
---
tests/sys/fs/fusefs/Makefile | 2 ++
1 file changed, 2 insertions(+)
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}
More information about the dev-commits-src-all
mailing list