Yi Zhao
2a040ba8ed
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.
(From OE-Core rev: f0f8ee668de34ad30ca16f5300966a3470018940)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-15 21:45:58 +01:00
..
2018-03-09 09:17:03 -08:00
2017-12-18 18:03:57 +00:00
2018-05-04 13:28:01 +01:00
2018-07-30 12:44:34 +01:00
2018-08-09 23:47:56 +01:00
2018-08-08 10:51:59 +01:00
2018-08-08 10:51:59 +01:00
2018-07-24 11:52:26 +01:00
2017-11-30 10:49:22 +00:00
2018-07-05 00:22:08 +01:00
2017-12-02 11:25:33 +00:00
2018-06-27 13:55:21 +01:00
2018-08-14 11:36:31 +01:00
2018-08-08 10:51:59 +01:00
2018-02-24 10:31:46 +00:00
2018-08-07 12:13:03 +01:00
2018-05-22 13:13:32 +01:00
2018-06-04 15:14:59 +01:00
2018-06-27 13:55:21 +01:00
2018-06-18 11:07:57 +01:00
2017-02-23 12:49:50 -08:00
2017-03-08 11:52:56 +00:00
2018-03-20 09:59:32 +00:00
2018-07-10 17:33:00 +01:00
2018-08-02 09:30:11 +01:00
2018-07-05 00:22:08 +01:00
2018-03-06 06:43:10 -08:00
2017-08-13 09:27:38 +01:00
2018-08-08 10:51:59 +01:00
2018-03-08 10:39:32 -08:00
2018-07-31 22:55:35 +01:00
2018-05-22 13:13:33 +01:00
2018-07-05 11:39:06 +01:00
2018-08-15 09:44:33 +01:00
2018-07-26 13:16:40 +01:00
2018-08-15 09:44:33 +01:00
2018-07-04 00:02:16 +01:00
2018-05-29 21:07:16 +01:00
2018-04-13 16:58:07 +01:00
2018-06-15 17:56:24 +01:00
2018-03-09 09:17:03 -08:00
2018-05-11 07:49:37 +01:00
2017-07-24 09:13:30 +01:00
2018-01-02 17:24:37 +00:00
2018-03-25 09:40:42 +01:00
2018-08-14 11:36:31 +01:00
2018-05-04 13:28:05 +01:00
2018-08-08 10:51:59 +01:00
2018-01-30 12:53:16 +00:00
2018-08-15 09:44:33 +01:00
2018-03-11 06:27:01 -07:00
2018-03-31 09:48:42 +01:00
2018-07-31 22:47:35 +01:00
2018-03-07 06:34:51 -08:00
2018-04-03 23:53:20 +01:00
2018-02-06 11:06:29 +00:00
2018-06-18 11:07:58 +01:00
2018-04-13 16:58:07 +01:00
2017-12-18 18:03:56 +00:00
2018-04-13 16:58:07 +01:00
2017-07-24 09:13:30 +01:00
2018-07-18 10:18:42 +01:00
2018-03-04 11:35:40 +00:00
2017-07-21 22:51:37 +01:00
2017-12-18 18:03:57 +00:00
2018-04-23 17:26:04 +01:00
2018-08-02 09:30:11 +01:00
2018-07-06 22:55:02 +01:00
2018-07-04 00:02:16 +01:00
2018-07-06 22:55:02 +01:00
2018-07-05 00:22:08 +01:00
2018-06-18 11:07:57 +01:00
2018-07-26 13:16:40 +01:00
2018-06-18 11:07:58 +01:00
2018-07-18 10:18:42 +01:00
2018-08-08 10:51:59 +01:00
2018-06-21 09:34:40 +01:00
2018-08-15 21:45:58 +01:00
2018-03-09 09:17:03 -08:00
2018-01-23 23:43:45 +00:00
2018-07-24 11:52:26 +01:00
2018-02-06 11:06:29 +00:00
2018-03-15 06:27:18 -07:00
2017-02-23 12:49:51 -08:00
2018-08-08 10:51:59 +01:00
2018-07-30 12:44:35 +01:00
2017-04-05 23:22:12 +01:00
2017-03-11 16:09:13 +00:00