aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-26 16:18:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-26 22:13:46 +0300
commit0d54162d02718f3b9cfcb4ee72e34e6fcba04138 (patch)
tree39628d8df1dd943639d3c84446d041c040b3e54e /build/root.build
parent52fc37ba225f1e32ccf571dcb3515f8f3840424d (diff)
Suppress -Wunqualified-std-cast-call Clang 15 warning
Diffstat (limited to 'build/root.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 b6e7004..a6502cf 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
# Work around issue with sanitizers messing up rpath (see issue #1219).
#