Skip to content

Commit

Permalink
Py3.8: [skip ci] missing initializer for member '_typeobject::tp_vect…
Browse files Browse the repository at this point in the history
…orcall' [-Wmissing-field-initializers]
  • Loading branch information
wwmayer committed Jun 8, 2020
1 parent e4d531b commit fdc07cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Base/PyObjectBase.cpp
Expand Up @@ -133,6 +133,9 @@ PyTypeObject PyObjectBase::Type = {
#if PY_MAJOR_VERSION >= 3
,0 /*tp_finalize */
#endif
#if PY_VERSION_HEX >= 0x03080000
,0 /*tp_vectorcall */
#endif
};

/*------------------------------
Expand Down
3 changes: 3 additions & 0 deletions src/Mod/Part/App/AppPart.cpp
Expand Up @@ -229,6 +229,9 @@ PyTypeObject LinePyOld::Type = {
#if PY_MAJOR_VERSION >=3
,0 /*tp_finalize */
#endif
#if PY_VERSION_HEX >= 0x03080000
,0 /*tp_vectorcall */
#endif
};

}
Expand Down

0 comments on commit fdc07cb

Please sign in to comment.