Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2021 19:11:26 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fe61b012dcae - stable/12 - Silence more gtest warnings, now in fusefs tests
Message-ID:  <202108311911.17VJBQ1q086159@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=fe61b012dcae0d2d0a8d3a775f58d14c299b9ed0

commit fe61b012dcae0d2d0a8d3a775f58d14c299b9ed0
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-08-27 21:39:23 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-08-31 19:11:05 +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
    
    (cherry picked from commit 5a3a8cb01ab8ef4aa16a1950b1ef804070ce1ac6)
---
 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 c3cf1f14e5bf..b96a6bea19d3 100644
--- a/tests/sys/fs/fusefs/Makefile
+++ b/tests/sys/fs/fusefs/Makefile
@@ -75,6 +75,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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108311911.17VJBQ1q086159>