aboutsummaryrefslogtreecommitdiff
path: root/tests/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-26 18:32:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-26 18:32:43 +0300
commite4e004adc6b30ae6dc8b06b22731243b418fe294 (patch)
tree3267e9db75429bdedeefb2766d82ba51cac978da /tests/build/root.build
parent56f827dcf55d349ac2604099e6720c7990020e99 (diff)
Suppress -Wunqualified-std-cast-call Clang 15 warning
Diffstat (limited to 'tests/build/root.build')
-rw-r--r--tests/build/root.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/build/root.build b/tests/build/root.build
index 8a3f2e7..f9dada1 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -15,6 +15,8 @@ if ($cxx.class == 'msvc')
cxx.coptions += /wd4251 /wd4275 /wd4800
elif ($cxx.id == 'gcc')
cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object # libbutl
+elif ($cxx.id.type == 'clang' && $cxx.version.major >= 15)
+ cxx.coptions += -Wno-unqualified-std-cast-call
# Every exe{} in this subproject is by default a test.
#