diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 18:01:09 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 18:01:09 +0300 |
commit | 50071e19b465b05a88b4be42499d63124fb35efb (patch) | |
tree | 44cca4f7d0b2584c00a0cc8d2edc91ac6d0d2c11 /build | |
parent | a3b4a26896ab178a492f02aad905b294c75bc40c (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 903cb09..30843f4 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" |