aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-26 16:35:35 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-26 16:35:35 +0300
commit4d97cefc7b829d40319ef825db487d16f8b06bd9 (patch)
tree71c1c39d38fa1551876d527c438652c43beff1d9 /build
parent83f7775dc93e22156bcfe956923f8c52084653ca (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 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"