New issue 2657: unicodeobject.h: Py_UNICODE_strlen does not compile on clang at 
least
https://bitbucket.org/pypy/pypy/issues/2657/unicodeobjecth-py_unicode_strlen-does-not

Markus Stenberg:

Py_LOCAL_INLINE(size_t) Py_UNICODE_strlen(const Py_UNICODE *u)
{
    int res = 0;
    while(*u++)
        res++;
    return res;
}

s/int/size_t/ = win (it now complains of implicit signedness conversion with 
default pip compilation flags at least)


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to