diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 19:20:39 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-26 19:20:39 +0300 |
commit | 23ca8a23d8d21fce2191fee11c01b606b8780453 (patch) | |
tree | 00feb8d12ea94acbb6b084d2ffe0f19b2f635517 /build | |
parent | a05b56e2b5fcdcde24ece42dd53e1b454a8f20dc (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 4101c92..1905f59 100644 --- a/build/root.build +++ b/build/root.build @@ -22,6 +22,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" |