From a9d173f8df460ce4050e6aff8f95fec70156c107 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Jun 2023 19:05:39 +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 fc02406..8c8fcb5 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" -- cgit v1.1