summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorJeremy Kloth <jeremy.kloth@gmail.com>2022-04-05 23:36:18 (GMT)
committerGitHub <noreply@github.com>2022-04-05 23:36:18 (GMT)
commit8bce3cb16df5b8ac06ac6b2cae177dd221780b2f (patch)
tree549b8f6d6b4b7b780a4f530c86c9c5bfdda46e5c /PCbuild
parent94609e3192f15636c760a48c4c1c2c236fac3217 (diff)
downloadcpython-8bce3cb16df5b8ac06ac6b2cae177dd221780b2f.zip
cpython-8bce3cb16df5b8ac06ac6b2cae177dd221780b2f.tar.gz
cpython-8bce3cb16df5b8ac06ac6b2cae177dd221780b2f.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>
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/pythoncore.vcxproj4
1 files changed, 3 insertions, 1 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index c39ba3e..3ba6358 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -499,7 +499,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" />