diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 19:05:39 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 19:05:39 +0300 |
commit | a9d173f8df460ce4050e6aff8f95fec70156c107 (patch) | |
tree | ad05c94d936ecba41123f42f830401883884c7b3 | |
parent | 510d26d2e1678e78c4613d046d920ec44a62ed3a (diff) |
Suppress -Wunqualified-std-cast-call Clang 15 warning
-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 fc02406..8c8fcb5 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 cxx.poptions =+ "-I$out_root" "-I$src_root" |