From 152dd76e88dc056391fe3c3c6239fdaf7c0a19e8 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 22 Nov 2023 22:20:58 -0800 Subject: [PATCH] Suppress C4275 on windows --- shared/config.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/config.gradle b/shared/config.gradle index 36aee7f5cdf..f4d4a1514f7 100644 --- a/shared/config.gradle +++ b/shared/config.gradle @@ -40,6 +40,8 @@ nativeUtils.platformConfigs.each { it.linker.args << "-headerpad_max_install_names" } else if (it.name.contains('linux')) { it.linker.args << '-Wl,-rpath,\'$ORIGIN\'' + } else if (it.name.contains('windows')) { + it.cppCompiler.args << "/wd4275" } }