diff options
author | Segev Finer <segev208@gmail.com> | 2017-06-23 10:45:01 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-06-23 10:45:01 (GMT) |
commit | 87c65550730a8f85ce339ba197bce4fb7e836619 (patch) | |
tree | 4c3e5e5b57801e150c0bb1a8a7cb343549e20836 /PCbuild | |
parent | 32cb968a2edd482891c33b6f2ebae10f1d305424 (diff) | |
download | cpython-87c65550730a8f85ce339ba197bce4fb7e836619.zip cpython-87c65550730a8f85ce339ba197bce4fb7e836619.tar.gz cpython-87c65550730a8f85ce339ba197bce4fb7e836619.tar.bz2 |
bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (#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
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/_elementtree.vcxproj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/_elementtree.vcxproj b/PCbuild/_elementtree.vcxproj index 138d7b8..639ba47 100644 --- a/PCbuild/_elementtree.vcxproj +++ b/PCbuild/_elementtree.vcxproj @@ -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> |