Actions
Bug #12096
closedpylibbe: cast between incompatible function types
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build errors with gcc 8:
../common/libbe_py.c:1091:13: error: cast between incompatible function types fr om 'PyObject * (*)(PyObject *, PyObject *, PyObject *)' {aka 'struct _object * ( *)(struct _object *, struct _object *, struct _object *)'} to 'PyObject * (*)(Py Object *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _obje ct *)'} [-Werror=cast-function-type] {"beList", (PyCFunction)beList, METH_VARARGS | METH_KEYWORDS, ^ cc1: all warnings being treated as errors
Testing done: build/install/boot.
Updated by Electric Monk over 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit efc1649758e28daa4ec68b64786909347dbe528a
commit efc1649758e28daa4ec68b64786909347dbe528a Author: Toomas Soome <tsoome@me.com> Date: 2019-12-27T14:38:44.000Z 12096 pylibbe: cast between incompatible function types Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Matthias Scheler <mscheler@tintri.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
Actions