Message413792
> Include/object.h:109:3: warning: redefinition of typedef 'PyObject' is a C11 feature [-Wtypedef-redefinition]
Oh. I already met this error :-(
That's why I proposed in GH-31201 to move all forward declarations at the top of Python.h to solve such issue.
I wrote GH-31527 to do exactly that: add a new pytypedefs.h header files to move all forward declarations at the top of Python.h.
I didn't move *all* "typedef struct xxx yyy;" there: only the ones which cause interdependencies issues. |
|
Date |
User |
Action |
Args |
2022-02-23 14:14:39 | vstinner | set | recipients:
+ vstinner, pitrou, christian.heimes, benjamin.peterson, alex, petr.viktorin, skrah, pmpp, serhiy.storchaka, rdb, miss-islington, erlendaasland |
2022-02-23 14:14:39 | vstinner | set | messageid: <1645625679.3.0.76174254014.issue45459@roundup.psfhosted.org> |
2022-02-23 14:14:39 | vstinner | link | issue45459 messages |
2022-02-23 14:14:39 | vstinner | create | |
|