diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2018-08-15 13:20:36 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 21:45:10 +0100 |
commit | f0f8ee668de34ad30ca16f5300966a3470018940 (patch) | |
tree | cd86170c529ff051167f0620e3e2660b7ee00f61 /meta/recipes-devtools/tcltk/tcl_8.6.8.bb | |
parent | bdf8ae540af12ecc9ad60efd3651b0f71d12d3bd (diff) | |
download | openembedded-core-contrib-f0f8ee668de34ad30ca16f5300966a3470018940.tar.gz |
swig: fix gcc8 warnings for cast between incompatible function types
We got an error when building setools in meta-selinux:
setools/policyrep/qpol_wrap.c:1819:23:
error: cast between incompatible function types from 'PyObject * (*)(PyObject *)'
{aka 'struct _object * (*)(struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)'
{aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Werror=cast-function-type]
{(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
This is a swig issue. See: https://github.com/swig/swig/issues/1259
Backport a patch from upstream to fix it.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl_8.6.8.bb')
0 files changed, 0 insertions, 0 deletions