python 3.8.2 compile: add tp_print to PyTypeObject

Desktop / LibreOffice - Justin Luth [sil.org] - 22 February 2020 06:43 EST

I couldn't find this documented on the Internet though, as the 3.9 and 3.8.2rc documentation didn't mention it as an added item...

I'm using Ubuntu 20.04 alpha with python3 --version Python 3.8.2rc1

This fixes pyuno/source/module/pyuno.cxx:1689:1: error: missing initializer for member ‘_typeobject::tp_print’ [-Werror=missing-field-initializers]

Change-Id: Idec5720050572b34628267cd94557dabf7edbf3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89247

50ccb7e82b70 python 3.8.2 compile: add tp_print to PyTypeObject
pyuno/source/module/pyuno.cxx | 3 +++
pyuno/source/module/pyuno_callable.cxx | 3 +++
pyuno/source/module/pyuno_iterator.cxx | 6 ++++++
pyuno/source/module/pyuno_runtime.cxx | 3 +++
pyuno/source/module/pyuno_struct.cxx | 3 +++
5 files changed, 18 insertions(+)

Upstream: cgit.freedesktop.org


  • Share