Project

General

Profile

Bug #12096

Updated by Toomas Soome almost 3 years ago

Build errors with gcc 8: 
 <pre> 
     ../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 
 </pre> 

 Testing done: build/install/boot.

Back