Skip to content

Commit 944f09a

Browse files
authored
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)
1 parent 050a8f9 commit 944f09a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

PCbuild/pythoncore.vcxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,13 +534,15 @@
534534
<!-- BEGIN deepfreeze -->
535535
<ClCompile Include="..\Python\deepfreeze\deepfreeze.c" />
536536
<!-- END deepfreeze -->
537-
</ItemGroup>
537+
</ItemGroup>
538538
<ItemGroup Condition="$(IncludeExternals)">
539539
<ClCompile Include="..\Modules\zlibmodule.c" />
540540
<ClCompile Include="$(zlibDir)\adler32.c" />
541541
<ClCompile Include="$(zlibDir)\compress.c" />
542542
<ClCompile Include="$(zlibDir)\crc32.c" />
543-
<ClCompile Include="$(zlibDir)\deflate.c" />
543+
<ClCompile Include="$(zlibDir)\deflate.c">
544+
<DisableSpecificWarnings>4244</DisableSpecificWarnings>
545+
</ClCompile>
544546
<ClCompile Include="$(zlibDir)\infback.c" />
545547
<ClCompile Include="$(zlibDir)\inffast.c" />
546548
<ClCompile Include="$(zlibDir)\inflate.c" />

0 commit comments

Comments
 (0)