Suppress -Wunqualified-std-cast-call Clang 15 warning

This commit is contained in:
Karen Arutyunov 2023-06-26 20:48:19 +03:00
parent c6a2a1c539
commit c93a4777d7

View File

@ -14,3 +14,5 @@ if ($cxx.class == 'msvc')
cc.coptions += /wd4251 /wd4275 /wd4800 cc.coptions += /wd4251 /wd4275 /wd4800
elif ($cxx.id == 'gcc') elif ($cxx.id == 'gcc')
cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object # libbutl 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