diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 17:42:43 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 17:42:43 +0300 |
commit | 345cef553589a961b60c6610ee73fdb2135e34ab (patch) | |
tree | 8646d9c7882ee2a643e0554ae5e14ad65754f9b9 /build | |
parent | 04408d241def62fcca0c8685f47f954e25707de6 (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 c172018..f0aba61 100644 --- a/build/root.build +++ b/build/root.build @@ -18,6 +18,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 cxx.poptions =+ "-I$out_root" "-I$src_root" |