Project

General

Profile

Actions

Bug #12096

closed

pylibbe: cast between incompatible function types

Added by Toomas Soome almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
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.

Actions #1

Updated by Toomas Soome almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk almost 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

Also available in: Atom PDF