aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-26 17:31:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-26 17:31:09 +0300
commit311dbebe0332cf3e738fc53d3490f948424dd139 (patch)
tree575d4d9046d55dd349c4eb8a1a7a61935c72d3c8 /build
parent1ad1db971c771f23250d5a9eb60522e198aaea6b (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 75ac4be..be2f19a 100644
--- a/build/root.build
+++ b/build/root.build
@@ -17,3 +17,5 @@ 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