Message390462
When building from scratch on Windows I get this warning:
c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\winbase.h(103): warning C4005: 'Yield': macro redefinition [C:\Users\gvanrossum\cpython\PCbuild\pythoncore.vcxproj]
I know there is at least one place where we try to prevent this warning, e.g. in Include/internal/pycore_ast.h there's this line:
#undef Yield /* undefine macro conflicting with <winbase.h> */
But apparently this isn't enough, or the error comes from a different file, or some rearrangement of header files made this #undef ineffective.
Victor, is it possible that your https://github.com/python/cpython/pull/24933 reintroduced this warning?
Steve, what can I do to diagnose this better? (The warning doesn't tell me where winbase.h was included.) |
|
Date |
User |
Action |
Args |
2021-04-07 18:33:30 | gvanrossum | set | recipients:
+ gvanrossum, paul.moore, vstinner, tim.golden, zach.ware, steve.dower |
2021-04-07 18:33:30 | gvanrossum | set | messageid: <1617820410.09.0.691386987943.issue43767@roundup.psfhosted.org> |
2021-04-07 18:33:30 | gvanrossum | link | issue43767 messages |
2021-04-07 18:33:29 | gvanrossum | create | |
|