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
bytearrayobject.c.h -rw-r--r-- 28.6 KB
bytesobject.c.h -rw-r--r-- 21.7 KB
codeobject.c.h -rw-r--r-- 8.6 KB
complexobject.c.h -rw-r--r-- 1.4 KB
descrobject.c.h -rw-r--r-- 3.3 KB
dictobject.c.h -rw-r--r-- 5.0 KB
enumobject.c.h -rw-r--r-- 2.2 KB
floatobject.c.h -rw-r--r-- 10.1 KB
funcobject.c.h -rw-r--r-- 2.3 KB
listobject.c.h -rw-r--r-- 9.2 KB
longobject.c.h -rw-r--r-- 9.1 KB
memoryobject.c.h -rw-r--r-- 2.2 KB
moduleobject.c.h -rw-r--r-- 1.5 KB
odictobject.c.h -rw-r--r-- 5.3 KB
structseq.c.h -rw-r--r-- 1.1 KB
tupleobject.c.h -rw-r--r-- 2.8 KB
typeobject.c.h -rw-r--r-- 6.0 KB
unicodeobject.c.h -rw-r--r-- 34.3 KB

back to top