Project

General

Profile

Actions

Bug #12096

closed

pylibbe: cast between incompatible function types

Added by Toomas Soome almost 3 years ago. Updated over 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:
External Bug:

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

Also available in: Atom PDF