Skip to content

Commit

Permalink
bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (p…
Browse files Browse the repository at this point in the history
…ython#2319)

* bpo-30726: Fix elementtree warnings on Windows

Caused by usage of `getenv` which should be safe. And a few integer
truncations which should also be ok.

* bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream
  • Loading branch information
segevfiner authored and vstinner committed Jun 23, 2017
1 parent 32cb968 commit 87c6555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PCbuild/_elementtree.vcxproj
Expand Up @@ -62,7 +62,7 @@
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\Modules\expat;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>USE_PYEXPAT_CAPI;XML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;USE_PYEXPAT_CAPI;XML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<BaseAddress>0x1D100000</BaseAddress>
Expand Down

0 comments on commit 87c6555

Please sign in to comment.