aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-12-21 22:41:57 +0000
committerDimitry Andric <dim@FreeBSD.org>2023-12-21 22:45:52 +0000
commitdc0b4094abf6784bf1a9492c2fea3fb91116b014 (patch)
tree5f096fb261d39464df25bf4ac25d74978baaffd6 /tests
parent69c8025a498450b6bc4cc9e97ba779ed1c2e7f4b (diff)
downloadsrc-dc0b4094abf6784bf1a9492c2fea3fb91116b014.tar.gz
src-dc0b4094abf6784bf1a9492c2fea3fb91116b014.zip
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/fs/fusefs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sys/fs/fusefs/Makefile b/tests/sys/fs/fusefs/Makefile
index 6b0a6ef366b0..f45f2f93e1c0 100644
--- a/tests/sys/fs/fusefs/Makefile
+++ b/tests/sys/fs/fusefs/Makefile
@@ -83,6 +83,10 @@ CXXWARNFLAGS+= -Wno-class-memaccess
CXXWARNFLAGS.gcc+= -Wno-unused-but-set-variable
# Suppress warnings about deprecated implicit copy constructors in gtest.
CXXWARNFLAGS+= -Wno-deprecated-copy
+.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 180000
+# clang 18.0.0 introduces a new warning about variable length arrays in C++.
+CXXWARNFLAGS+= -Wno-vla-cxx-extension
+.endif
CXXFLAGS+= -I${SRCTOP}/tests
CXXFLAGS+= -I${FUSEFS}
CXXFLAGS+= -I${MOUNT}