diff options
author | Jeremy Kloth <jeremy.kloth@gmail.com> | 2022-04-05 19:03:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 19:03:17 (GMT) |
commit | 944f09adfcc59f54432ac2947cf95f3465d90e1e (patch) | |
tree | 8990e853ceadc3fb0eb6f3a81a18bd6ecb17870e /PCbuild | |
parent | 050a8f94c678a05d506fe192c863c4a572178c42 (diff) | |
download | cpython-944f09adfcc59f54432ac2947cf95f3465d90e1e.zip cpython-944f09adfcc59f54432ac2947cf95f3465d90e1e.tar.gz cpython-944f09adfcc59f54432ac2947cf95f3465d90e1e.tar.bz2 |
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/pythoncore.vcxproj | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 9894e37..4fc6aa8 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -534,13 +534,15 @@ <!-- BEGIN deepfreeze --> <ClCompile Include="..\Python\deepfreeze\deepfreeze.c" /> <!-- END deepfreeze --> - </ItemGroup> + </ItemGroup> <ItemGroup Condition="$(IncludeExternals)"> <ClCompile Include="..\Modules\zlibmodule.c" /> <ClCompile Include="$(zlibDir)\adler32.c" /> <ClCompile Include="$(zlibDir)\compress.c" /> <ClCompile Include="$(zlibDir)\crc32.c" /> - <ClCompile Include="$(zlibDir)\deflate.c" /> + <ClCompile Include="$(zlibDir)\deflate.c"> + <DisableSpecificWarnings>4244</DisableSpecificWarnings> + </ClCompile> <ClCompile Include="$(zlibDir)\infback.c" /> <ClCompile Include="$(zlibDir)\inffast.c" /> <ClCompile Include="$(zlibDir)\inflate.c" /> |