diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 18:21:46 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 18:21:46 +0300 |
commit | 2f5637027550139c2d5f716540060e7626ac0803 (patch) | |
tree | 926bed36c485d822752fcb6188adaa7ab17a5b54 /build | |
parent | b55bbcca99f873453d6898bc4537f57c25195f92 (diff) |
Suppress -Wunqualified-std-cast-call Clang 15 warning
Diffstat (limited to 'build')
-rw-r--r-- | build/root.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build index a6b088e..d86f7be 100644 --- a/build/root.build +++ b/build/root.build @@ -20,6 +20,8 @@ cxx.coptions += -Wno-unknown-pragmas if ($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" |