aboutsummaryrefslogtreecommitdiff
path: root/tests/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-26 15:40:44 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-26 16:40:24 +0300
commited5ea88e452135e01d85556cf138cb68dd84a93a (patch)
tree60c29c612a4e284575471bd47a96692ce3b6a780 /tests/build/root.build
parent4a8b9c0c637098ddaef235dedd4f788f858a471a (diff)
Suppress -Wunqualified-std-cast-call Clang 15 warning
Diffstat (limited to 'tests/build/root.build')
-rw-r--r--tests/build/root.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/build/root.build b/tests/build/root.build
index a1e935c..9c898e7 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
+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.
#