From 311dbebe0332cf3e738fc53d3490f948424dd139 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Jun 2023 17:31:09 +0300 Subject: Suppress -Wunqualified-std-cast-call Clang 15 warning --- tests/build/root.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/build/root.build b/tests/build/root.build index 8a3f2e7..f9dada1 100644 --- a/tests/build/root.build +++ b/tests/build/root.build @@ -15,6 +15,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 # Every exe{} in this subproject is by default a test. # -- cgit v1.1