From 0d54162d02718f3b9cfcb4ee72e34e6fcba04138 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Jun 2023 16:18:55 +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 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). # -- cgit v1.1