diff --git a/templates/vsprojects/global.props.template b/templates/vsprojects/global.props.template index 5b8d1e1182ab7098ee2be1d91eccb337eec9daf7..c53e4f16e3ff61ea4680e69c3787a3c6b297d917 100644 --- a/templates/vsprojects/global.props.template +++ b/templates/vsprojects/global.props.template @@ -13,6 +13,10 @@ <PreprocessorDefinitions>_WIN32_WINNT=0x600;_SCL_SECURE_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <WarningLevel>EnableAllWarnings</WarningLevel> </ClCompile> + <Link> + <!-- LNK4271 pollutes test output. See #4521 --> + <AdditionalOptions>/ignore:4217 %(AdditionalOptions)</AdditionalOptions> + </Link> </ItemDefinitionGroup> <ItemGroup /> </Project> diff --git a/vsprojects/global.props b/vsprojects/global.props index fe783c37ebdd8b10e7b07148881e10ef23cf5584..c0792e12cb2df2efd09630522aecf24a23f0274b 100644 --- a/vsprojects/global.props +++ b/vsprojects/global.props @@ -11,6 +11,10 @@ <PreprocessorDefinitions>_WIN32_WINNT=0x600;_SCL_SECURE_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <WarningLevel>EnableAllWarnings</WarningLevel> </ClCompile> + <Link> + <!-- LNK4271 pollutes test output. See #4521 --> + <AdditionalOptions>/ignore:4217 %(AdditionalOptions)</AdditionalOptions> + </Link> </ItemDefinitionGroup> <ItemGroup /> </Project>