From 8c534e863e771b19efc582c54f8ddd44d72089f3 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 1 Jul 2023 10:54:41 -0400 Subject: [PATCH] [SCons] Ignore yaml-cpp compiler warning --- ext/SConscript | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ext/SConscript b/ext/SConscript index 8831dd442..a646f0c90 100644 --- a/ext/SConscript +++ b/ext/SConscript @@ -34,6 +34,13 @@ def prep_gmock(env): return localenv +def prep_yamlcpp(env): + localenv = prep_default(env) + if env['CC'] == 'cl': + # "class ... needs to have dll-interface to be used by clients of class ..." + localenv.Append(CCFLAGS='/wd4251') + return localenv + ext_copies = [] if not env['system_fmt']: