From 0028e062b8f80ff6762f1517191d0a39e3457ed2 Mon Sep 17 00:00:00 2001 From: Ochi Yuma <44621609+Chizuchizu@users.noreply.github.com> Date: Fri, 9 Sep 2022 08:00:00 +0900 Subject: [PATCH] third party: add -Wno-unqualified-std-cast-call to fix json11 build (#25686) only for json11 Co-authored-by: Adeeb Shihadeh --- third_party/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/SConscript b/third_party/SConscript index 5a7a62ae5a..e5bbfaa07a 100644 --- a/third_party/SConscript +++ b/third_party/SConscript @@ -1,6 +1,6 @@ Import('env') -env.Library('json11', ['json11/json11.cpp']) +env.Library('json11', ['json11/json11.cpp'], CCFLAGS=env['CCFLAGS'] + ['-Wno-unqualified-std-cast-call']) env.Append(CPPPATH=[Dir('json11')]) env.Library('kaitai', ['kaitai/kaitaistream.cpp'], CPPDEFINES=['KS_STR_ENCODING_NONE'])