[issue38321] Windows: compiler warnings when building Python 3.8

2019-09-30 Thread STINNER Victor
STINNER Victor added the comment: Warnings on Linux with gcc -O3: /home/vstinner/python/master/Modules/_randommodule.c:546:17: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 546 | {Py_tp_doc, random_doc}, | ^~~~

[issue38321] Windows: compiler warnings when building Python 3.8

2019-09-30 Thread STINNER Victor
New submission from STINNER Victor : c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\winbase.h(103): warning C4005: 'Yield': macro redefinition c:\vstinner\python\3.8\modules\_asynciomodule.c(2667): warning C4102: 'set_exception': unreferenced label c:\vstinner\python\3.8\modu