summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kloth <jeremy.kloth@gmail.com>2022-04-05 23:37:16 (GMT)
committerGitHub <noreply@github.com>2022-04-05 23:37:16 (GMT)
commita4c7752f3e00b75fd1e4603458b8c77a9fa3d4cb (patch)
treec7b1c739a992305970e451e8e7dd11a2cae62072
parentd1fb16ae286795abe3e9da86332c891b4b18826f (diff)
downloadcpython-a4c7752f3e00b75fd1e4603458b8c77a9fa3d4cb.zip
cpython-a4c7752f3e00b75fd1e4603458b8c77a9fa3d4cb.tar.gz
cpython-a4c7752f3e00b75fd1e4603458b8c77a9fa3d4cb.tar.bz2
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)
(cherry picked from commit 944f09adfcc59f54432ac2947cf95f3465d90e1e) Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
-rw-r--r--PCbuild/pythoncore.vcxproj4
1 files changed, 3 insertions, 1 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index 9a40905..c899a3b 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -500,7 +500,9 @@
<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" />