Hi,
I had a report from nakinor that compiler warnings occur after 7.4.153.
E.g.:
In file included from if_python3.c:773:
./if_py_both.h:2331:27: warning: incompatible pointer types passing
'PySliceObject *' to parameter of type 'PyObject *'
(aka 'struct _object *') [-Wincompatible-pointer-types]
if (PySlice_GetIndicesEx((PySliceObject *)idx, ListLength(self),
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/python3.4m/sliceobject.h:43:48: note: passing argument to
parameter 'r' here
PyAPI_FUNC(int) PySlice_GetIndicesEx(PyObject *r, Py_ssize_t length,
...
They occur when Vim is statically linked with Python 3.2 or later.
The type of the first argument of PySlice_GetIndicesEx was changed in
Python 3.2 from PySliceObject to PyObject.
He and I made a patch for this:
https://gist.github.com/nakinor/9780409
Regards,
Ken Takata
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.