Staging
v0.5.1
https://github.com/python/cpython
Revision e92d39303feb1d3b4194c6a8275b1fc63b2153b2 authored by Ammar Askar on 15 January 2020, 16:48:40 UTC, committed by Zachary Ware on 15 January 2020, 16:48:40 UTC
Python-ast.h contains a macro named Yield that conflicts with the Yield macro
in Windows system headers. While Python-ast.h has an "undef Yield" directive
to prevent this, it means that Python-ast.h must be included before Windows
header files or we run into a re-declaration warning. In commit c96be811fa7d
an include for pycore_pystate.h was added which indirectly includes Windows
header files. In this commit we re-order the includes to fix this warning.
1 parent e85a305
History
Tip revision: e92d39303feb1d3b4194c6a8275b1fc63b2153b2 authored by Ammar Askar on 15 January 2020, 16:48:40 UTC
Fix compiler warning on Windows (GH-18012)
Tip revision: e92d393
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.1 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 66.5 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 494.6 KB
configure.ac -rw-r--r-- 164.8 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.1 KB
setup.py -rw-r--r-- 101.7 KB

README.rst

back to top