tests/fusefs: Suppress false warning from GCC.
GCC complains that DNAME in the inval_entry_below_root test is not used, but EXPECT_LOOKUP() does pass DNAME to strcmp in an internal lambda function. Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D40661
This commit is contained in:
parent
e65868ddd4
commit
062de1c5df
@ -80,7 +80,9 @@ 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.
|
||||
# Suppress false warning about set but unused DNAME in inval_entry_below_root
|
||||
CXXWARNFLAGS.gcc+= -Wno-unused-but-set-variable
|
||||
# Suppress warnings about deprecated implicit copy constructors in gtest.
|
||||
CXXWARNFLAGS+= -Wno-deprecated-copy
|
||||
CXXFLAGS+= -I${SRCTOP}/tests
|
||||
CXXFLAGS+= -I${FUSEFS}
|
||||
|
Loading…
Reference in New Issue
Block a user