From 345cef553589a961b60c6610ee73fdb2135e34ab Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Jun 2023 17:42:43 +0300 Subject: Suppress -Wunqualified-std-cast-call Clang 15 warning --- build/root.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/root.build b/build/root.build index c172018..f0aba61 100644 --- a/build/root.build +++ b/build/root.build @@ -18,6 +18,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" -- cgit v1.1