From 4d97cefc7b829d40319ef825db487d16f8b06bd9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Jun 2023 16:35:35 +0300 Subject: Suppress -Wunqualified-std-cast-call Clang 15 warning --- tests/build/root.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/build/root.build') diff --git a/tests/build/root.build b/tests/build/root.build index 8f9a482..e04784d 100644 --- a/tests/build/root.build +++ b/tests/build/root.build @@ -16,6 +16,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 # Setup the build system driver that we are testing (which may not be the same # as our $build.path). We also need to disable importation using the built-in -- cgit v1.1