Missing PyUnicode_Compat
![](https://secure.gravatar.com/avatar/3a766c4a0b64a5d1b06b4a786d5e3a9e.jpg?s=120&d=mm&r=g)
Hi all, during a build of pypy-numpy from https://bitbucket.org/pypy/numpy.git I've got a following error cc: numpy/core/src/dummymodule.c In file included from numpy/core/src/private/npy_pycompat.h:4:0, from numpy/core/src/dummymodule.c:11: numpy/core/include/numpy/npy_3kcompat.h: In function 'PyUnicode_ConcatAndDel': numpy/core/include/numpy/npy_3kcompat.h:125:5: warning: implicit declaration of function 'PyUnicode_Concat' [-Wimplicit-function-declaration] newobj = PyUnicode_Concat(*left, right); So first of all, is dummymodule.c imporant or errors can be ignored there? Guessing from its name, I'd not say so. But during a grepping I found that even if it is somehow declared in cpyext/stubs.py, the symbol is missing from pypy itself, where some others PyUnicode_ things are in there. Is that correct and cpyext/stub.py is enough, or not? Regards Michal Vyskocil
![](https://secure.gravatar.com/avatar/db5b03704c129196a4e9415e55413ce6.jpg?s=120&d=mm&r=g)
I don't know much about this, but it doesn't matter as long as the linker sees a symbol somewhere. So, I wouldn't say that those are important regardless. Michal Vyskocil <mvyskocil@suse.cz> wrote:
Hi all,
during a build of pypy-numpy from https://bitbucket.org/pypy/numpy.git
I've got a following error
cc: numpy/core/src/dummymodule.c In file included from numpy/core/src/private/npy_pycompat.h:4:0, from numpy/core/src/dummymodule.c:11: numpy/core/include/numpy/npy_3kcompat.h: In function 'PyUnicode_ConcatAndDel': numpy/core/include/numpy/npy_3kcompat.h:125:5: warning: implicit declaration of function 'PyUnicode_Concat' [-Wimplicit-function-declaration] newobj = PyUnicode_Concat(*left, right);
So first of all, is dummymodule.c imporant or errors can be ignored there? Guessing from its name, I'd not say so.
But during a grepping I found that even if it is somehow declared in cpyext/stubs.py, the symbol is missing from pypy itself, where some others PyUnicode_ things are in there. Is that correct and cpyext/stub.py is enough, or not?
Regards Michal Vyskocil
------------------------------------------------------------------------
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev
-- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
participants (2)
-
Michal Vyskocil
-
Ryan