aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/root.build2
-rw-r--r--tests/build/root.build2
2 files changed, 4 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index 911787f..70d4d84 100644
--- a/build/root.build
+++ b/build/root.build
@@ -24,6 +24,8 @@ if ($cxx.class == 'msvc')
elif ($cxx.id == 'gcc')
cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object \
-Wno-stringop-overread # libbutl
+elif ($cxx.id.type == 'clang' && $cxx.version.major >= 15)
+ cxx.coptions += -Wno-unqualified-std-cast-call
cxx.poptions =+ "-I$out_root" "-I$src_root"
diff --git a/tests/build/root.build b/tests/build/root.build
index 8f9a482..e04784d 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -16,6 +16,8 @@ if ($cxx.class == 'msvc')
elif ($cxx.id == 'gcc')
cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object \
-Wno-stringop-overread # libbutl
+elif ($cxx.id.type == 'clang' && $cxx.version.major >= 15)
+ cxx.coptions += -Wno-unqualified-std-cast-call
# Setup the build system driver that we are testing (which may not be the same
# as our $build.path). We also need to disable importation using the built-in