aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-26 18:01:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-26 18:01:09 +0300
commit50071e19b465b05a88b4be42499d63124fb35efb (patch)
tree44cca4f7d0b2584c00a0cc8d2edc91ac6d0d2c11 /build
parenta3b4a26896ab178a492f02aad905b294c75bc40c (diff)
Suppress -Wunqualified-std-cast-call Clang 15 warning
Diffstat (limited to 'build')
-rw-r--r--build/root.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index 903cb09..30843f4 100644
--- a/build/root.build
+++ b/build/root.build
@@ -17,6 +17,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
cxx.poptions =+ "-I$out_root" "-I$src_root"